From 85ed03323aad6f5219f966fbf13e6a97597435cc Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 18 May 2016 03:19:06 +0200 Subject: [PATCH] games-strategy/freesynd: add stable 0.7.5 release version --- .../freesynd/freesynd-0.7.5.exheres-0 | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 packages/games-strategy/freesynd/freesynd-0.7.5.exheres-0 diff --git a/packages/games-strategy/freesynd/freesynd-0.7.5.exheres-0 b/packages/games-strategy/freesynd/freesynd-0.7.5.exheres-0 new file mode 100644 index 0000000..f799c0f --- /dev/null +++ b/packages/games-strategy/freesynd/freesynd-0.7.5.exheres-0 @@ -0,0 +1,40 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require desktop-utils +require gtk-icon-cache +require cmake [ api=2 ] +require sourceforge [ suffix=tar.gz ] + +SUMMARY="A cross-platform reimplementation of engine for the classic Bullfrog game, Syndicate" + +LICENCES="GPL-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build+run: + media-libs/SDL:0[X] + media-libs/SDL_image:1 + media-libs/SDL_mixer:0[ogg] + media-libs/libpng:= +" + +src_install() { + dobin src/${PN} + insinto /usr/share/${PN} + doins -r "${CMAKE_SOURCE}"/data + insinto /usr/share/icons/hicolor/128x128/apps + newins "${CMAKE_SOURCE}"/icon/sword.png ${PN}.png + install_desktop_entry + dodoc "${CMAKE_SOURCE}"/{NEWS,README,INSTALL,AUTHORS} +} + +pkg_postinst() { + elog "You have to set \"data_dir = /my/path/to/synd-data\"" + elog "in \"~/.${PN}/${PN}.ini\"." + + gtk-icon-cache_pkg_postinst +} +