From ca08afa84134409bcc84bf439501b77892a630cf Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 18:46:14 +0100 Subject: [PATCH] games-rpg/zsdx: initial import of version 1.10.3 --- packages/games-rpg/zsdx/zsdx-1.10.3.exheres-0 | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 packages/games-rpg/zsdx/zsdx-1.10.3.exheres-0 diff --git a/packages/games-rpg/zsdx/zsdx-1.10.3.exheres-0 b/packages/games-rpg/zsdx/zsdx-1.10.3.exheres-0 new file mode 100644 index 0000000..af3b5a3 --- /dev/null +++ b/packages/games-rpg/zsdx/zsdx-1.10.3.exheres-0 @@ -0,0 +1,53 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require cmake + +SUMMARY="A free 2D Zelda fangame" +HOMEPAGE="http://www.solarus-games.org/" +DOWNLOADS="http://www.zelda-solarus.com/downloads/${PN}/${PNV}.tar.gz" + +LICENCES="CC-BY-SA-3.0 GPL-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + run: + games-engines/solarus[~>1.4.0] + build: + app-arch/zip +" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DSOLARUS_INSTALL_DATAROOTDIR=/usr/share + -DSOLARUS_INSTALL_BINDIR="/usr/$(exhost --target)/bin" +) + +src_install() { + cmake_src_install + + insinto /usr/share/icons/hicolor/256x256/apps + newins build/icons/${PN}_icon_256.png ${PN}.png + insinto /usr/share/icons/hicolor/48x48/apps + newins build/icons/${PN}_icon_48.png ${PN}.png + + # install proper wrapper script + edo rm -f "${IMAGE%/}"/usr/share/${PN} + herebin ${PN} <