From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild (limited to 'games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild') diff --git a/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild b/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild new file mode 100644 index 00000000..f0c96b09 --- /dev/null +++ b/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils games + + +DESCRIPTION="Dune Legacy is an open source clone of Dune 2." +HOMEPAGE="http://dunelegacy.sourceforge.net" +SRC_URI="http://www.myway.de/richieland/${PN}-0.96.2-src.tar.bz2" + +LICENSE="GPL-2 or later" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/libsdl + media-libs/sdl-mixer" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-0.96.2 + +src_install() { + cd "${S}/src" + + dogamesbin ${PN} || die "dogamesbin failed" + + cd "${S}" + + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* || die "doins failed" + + doicon dunelegacy.png + make_desktop_entry ${PN} "Dune Legacy" dunelegacy.png "Game;StrategyGame;" + + prepgamesdirs +} + +pkg_postinst() { + elog "You will need to copy all Dune 2 PAK files to ${GAMES_DATADIR}/${PN} !" + elog "" + elog "At least the following files are needed:" + elog " - ATRE.PAK" + elog " - DUNE.PAK" + elog " - ENGLISH.PAK" + elog " - FINALE.PAK" + elog " - HARK.PAK" + elog " - INTRO.PAK" + elog " - INTROVOC.PAK" + elog " - MENTAT.PAK" + elog " - MERC.PAK" + elog " - ORDOS.PAK" + elog " - SCENARIO.PAK" + elog " - SOUND.PAK" + elog " - VOC.PAK" + elog "" + elog "For playing in german or french you need additionally GERMAN.PAK" + elog "or FRENCH.PAK." +} + -- cgit v1.2.3