diff options
Diffstat (limited to 'games-roguelike/powder/powder-117.ebuild')
-rw-r--r-- | games-roguelike/powder/powder-117.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games-roguelike/powder/powder-117.ebuild b/games-roguelike/powder/powder-117.ebuild new file mode 100644 index 000000000000..bcf03f2ad4b9 --- /dev/null +++ b/games-roguelike/powder/powder-117.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit flag-o-matic games + +MY_P=${P/-/}_src + +DESCRIPTION="A game in the genre of Rogue, Nethack, and Diablo. Emphasis is on tactical play" +HOMEPAGE="http://www.zincland.com/powder/" +SRC_URI="http://www.zincland.com/powder/release/${MY_P}.tar.gz" + +LICENSE="CC-Sampling-Plus-1.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[video]" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +src_compile() { + append-cxxflags -DCHANGE_WORK_DIRECTORY + emake -C port/linux premake + emake -C port/linux powder +} + +src_install() { + dogamesbin port/linux/${PN} + dodoc README.TXT CREDITS.TXT + prepgamesdirs +} + +pkg_postinst() { + elog "While the highscore is kept, save games are never preserved between" + elog "versions. Please wait until your current character dies before upgrading." + games_pkg_postinst +} |