From b9563f4a65e7c40370c011ecb3f8a9d51ec7fc1e Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 18:58:33 +0100 Subject: [PATCH] games-rpg/flare: initial import of version 0.19 --- packages/games-rpg/flare/flare-0.19.exheres-0 | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 packages/games-rpg/flare/flare-0.19.exheres-0 diff --git a/packages/games-rpg/flare/flare-0.19.exheres-0 b/packages/games-rpg/flare/flare-0.19.exheres-0 new file mode 100644 index 0000000..42e177d --- /dev/null +++ b/packages/games-rpg/flare/flare-0.19.exheres-0 @@ -0,0 +1,42 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require cmake gtk-icon-cache + +SUMMARY="Free/Libre Action Roleplaying game" +HOMEPAGE="https://github.com/clintbellanger/flare-game" +DOWNLOADS="https://github.com/clintbellanger/flare-game/archive/v${PV}.tar.gz -> ${PNV}-game.tar.gz" + +LICENCES="CC-BY-SA-3.0 GPL-2 GPL-3 OFL-1.1" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + run: + games-engines/flare[~${PV}] +" + +WORK=${WORKBASE}/${PN}-game-${PV} + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBINDIR="/usr/$(exhost --target)/bin" + -DDATADIR=/usr/share/${PN} +) + +src_prepare() { + edo sed -i \ + -e "/Exec/s#@FLARE_EXECUTABLE_PATH@#flare#" \ + distribution/flare.desktop.in +} + +src_install() { + cmake_src_install + + herebin ${PN}-game <