From 24080dc9e793d3c0c99f7500bc4d419ad7b27d25 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 29 Feb 2016 16:31:30 +0100 Subject: [PATCH] games-strategy/freesynd: initial import of scm version --- metadata/repository_mask.conf | 1 + .../freesynd/freesynd-scm.exheres-0 | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 packages/games-strategy/freesynd/freesynd-scm.exheres-0 diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index 19642294..fb537c2c 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -1,4 +1,5 @@ ( + games-strategy/freesynd[~scm] games-emulation/gambatte[~scm] games-fps/eduke32[~scm] games-rpg/valyriatear[~scm] diff --git a/packages/games-strategy/freesynd/freesynd-scm.exheres-0 b/packages/games-strategy/freesynd/freesynd-scm.exheres-0 new file mode 100644 index 00000000..961b626e --- /dev/null +++ b/packages/games-strategy/freesynd/freesynd-scm.exheres-0 @@ -0,0 +1,44 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +SCM_SVN_RAW_URI=1 +SCM_REPOSITORY="http://svn.code.sf.net/p/freesynd/code/freesynd/trunk" + +require desktop-utils +require gtk-icon-cache +require cmake [ out_of_source=false ] +require scm-svn + +SUMMARY="A cross-platform reimplementation of engine for the classic Bullfrog game, Syndicate" +HOMEPAGE="http://freesynd.sourceforge.net/" + +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:= + media-libs/libvorbis + media-libs/libogg +" + +src_install() { + dobin src/${PN} + insinto /usr/share/${PN} + doins -r data + insinto /usr/share/icons/hicolor/128x128/apps + newins icon/sword.png ${PN}.png + install_desktop_entry + dodoc NEWS README INSTALL AUTHORS +} + +pkg_postinst() { + elog "You have to set \"data_dir = /my/path/to/synd-data\"" + elog "in \"~/.${PN}/${PN}.ini\"." +} +