commit:     42e57095abb17358641a544e084891bd98c64061
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 17:58:10 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 19:12:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42e57095

games-roguelike/powder: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-roguelike/powder/powder-117-r1.ebuild | 38 +++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/games-roguelike/powder/powder-117-r1.ebuild 
b/games-roguelike/powder/powder-117-r1.ebuild
new file mode 100644
index 00000000..f0d8cd2
--- /dev/null
+++ b/games-roguelike/powder/powder-117-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit flag-o-matic
+
+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() {
+       dobin port/linux/${PN}
+       dodoc README.TXT CREDITS.TXT
+}
+
+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."
+}

Reply via email to