You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-roguelike/powder/powder-116.ebuild

40 lines
1.0 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/powder/powder-116.ebuild,v 1.4 2013/01/05 12:07:17 ago Exp $
EAPI=2
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="CCPL-Sampling-Plus-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="media-libs/libsdl[video]"
S=${WORKDIR}/${MY_P}
src_compile() {
append-cxxflags -DCHANGE_WORK_DIRECTORY
emake -C port/linux premake || die
emake -C port/linux powder || die
}
src_install() {
dogamesbin port/linux/${PN} || die
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
}