mr_bones_ 15/01/21 07:28:07 Modified: zangband-2.7.4c.ebuild ChangeLog Log: EAPI=5; tidy install; avoid bashism (bug #527202) (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.12 games-roguelike/zangband/zangband-2.7.4c.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/zangband/zangband-2.7.4c.ebuild?rev=1.12&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/zangband/zangband-2.7.4c.ebuild?rev=1.12&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/zangband/zangband-2.7.4c.ebuild?r1=1.11&r2=1.12 Index: zangband-2.7.4c.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-roguelike/zangband/zangband-2.7.4c.ebuild,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- zangband-2.7.4c.ebuild 4 Mar 2010 00:52:42 -0000 1.11 +++ zangband-2.7.4c.ebuild 21 Jan 2015 07:28:07 -0000 1.12 @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/zangband-2.7.4c.ebuild,v 1.11 2010/03/04 00:52:42 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/zangband-2.7.4c.ebuild,v 1.12 2015/01/21 07:28:07 mr_bones_ Exp $ -EAPI=2 +EAPI=5 inherit autotools eutils games DESCRIPTION="An enhanced version of the Roguelike game Angband" @@ -25,7 +25,10 @@ src_prepare() { epatch "${FILESDIR}"/${P}-tk85.patch \ - "${FILESDIR}"/${P}-rng.patch + "${FILESDIR}"/${P}-rng.patch \ + "${FILESDIR}"/${P}-configure.patch \ + "${FILESDIR}"/${P}-makefile.patch + mv configure.in configure.ac || die eautoreconf } @@ -39,19 +42,16 @@ src_install() { # Keep some important dirs we want to chmod later - keepdir "${GAMES_DATADIR}"/${PN}/lib/apex \ - "${GAMES_DATADIR}"/${PN}/lib/user \ - "${GAMES_DATADIR}"/${PN}/lib/save + keepdir "${GAMES_DATADIR}"/${PN}/lib/{apex,user,save,bone,info,xtra/help,xtra/music} # Install the basic files but remove unneeded crap - emake DESTDIR="${D}/${GAMES_DATADIR}"/${PN}/ installbase \ - || die "emake installbase failed" + emake DESTDIR="${D}/${GAMES_DATADIR}"/${PN}/ installbase rm "${D}${GAMES_DATADIR}"/${PN}/{angdos.cfg,readme,z_faq.txt,z_update.txt} # Install everything else and fix the permissions - dogamesbin zangband || die "dogamesbin failed" - dodoc readme z_faq.txt z_update.txt || die "dodoc failed" - find "${D}${GAMES_DATADIR}/zangband/lib" -type f -exec chmod a-x \{\} \; + dogamesbin zangband + dodoc readme z_faq.txt z_update.txt + find "${D}${GAMES_DATADIR}/zangband/lib" -type f -exec chmod a-x \{\} + prepgamesdirs # All users in the games group need write permissions to 1.21 games-roguelike/zangband/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/zangband/ChangeLog?rev=1.21&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/zangband/ChangeLog?rev=1.21&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/zangband/ChangeLog?r1=1.20&r2=1.21 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ChangeLog 13 Jan 2013 04:39:19 -0000 1.20 +++ ChangeLog 21 Jan 2015 07:28:07 -0000 1.21 @@ -1,6 +1,12 @@ # ChangeLog for games-roguelike/zangband -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v 1.20 2013/01/13 04:39:19 mr_bones_ Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v 1.21 2015/01/21 07:28:07 mr_bones_ Exp $ + + 21 Jan 2015; Michael Sterrett <[email protected]> + +files/zangband-2.7.4c-configure.patch, +files/zangband-2.7.4c-makefile.patch, + files/zangband-2.7.4c-rng.patch, files/zangband-2.7.4c-tk85.patch, + zangband-2.7.4c.ebuild: + EAPI=5; tidy install; avoid bashism (bug #527202) 13 Jan 2013; Michael Sterrett <[email protected]> files/zangband-2.7.4c-rng.patch, files/zangband-2.7.4c-tk85.patch:
