diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-15 04:04:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-15 04:04:57 +0000 |
commit | b60b816e18aa4116eb28350e2487ccf28f135286 (patch) | |
tree | 8774c25af5daa748cb3b849055de1fc958e3f480 | |
parent | fix SRC_URI as pointed out by Robin Johnson #99048 (diff) | |
download | gentoo-2-b60b816e18aa4116eb28350e2487ccf28f135286.tar.gz gentoo-2-b60b816e18aa4116eb28350e2487ccf28f135286.tar.bz2 gentoo-2-b60b816e18aa4116eb28350e2487ccf28f135286.zip |
fix state permissions #99034
(Portage version: 2.0.51.22-r1)
-rw-r--r-- | games-misc/bsd-games-non-free/bsd-games-non-free-2.13.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/games-misc/bsd-games-non-free/bsd-games-non-free-2.13.ebuild b/games-misc/bsd-games-non-free/bsd-games-non-free-2.13.ebuild index a9d5a2dafb04..8a9573c0bc6a 100644 --- a/games-misc/bsd-games-non-free/bsd-games-non-free-2.13.ebuild +++ b/games-misc/bsd-games-non-free/bsd-games-non-free-2.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games-non-free/bsd-games-non-free-2.13.ebuild,v 1.9 2005/06/15 18:40:53 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games-non-free/bsd-games-non-free-2.13.ebuild,v 1.10 2005/07/15 04:04:57 vapier Exp $ inherit games @@ -11,7 +11,7 @@ SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz" # See /usr/share/doc/${P}/COPYRIGHT.hack and CHANGES.rogue LICENSE="|| ( BSD free-noncomm )" SLOT="0" -KEYWORDS="x86 ~ppc ~amd64" +KEYWORDS="~amd64 ~ppc x86" IUSE="" DEPEND="sys-libs/ncurses @@ -48,17 +48,17 @@ src_install() { PACKAGING README README.non-free SECURITY THANKS TODO YEAR2000 \ bsd-games-non-free.lsm - # set some binaries to run as games group (+S) - [ `build_game rogue` ] && fperms g+s ${GAMES_BINDIR}/rogue - # state files - [ `build_game hack` ] && keepdir ${GAMES_STATEDIR}/hack && chmod ug+rw ${GAMES_STATEDIR}/hack - [ `build_game rogue` ] && do_statefile rogue.scores + build_game hack && keepdir ${GAMES_STATEDIR}/hack + build_game rogue && do_statefile rogue.scores # extra docs - [ `build_game hack` ] && { docinto hack ; dodoc hack/{COPYRIGHT,OWNER,Original_READ_ME,READ_ME,help}; } - [ `build_game rogue` ] && { docinto rogue ; dodoc rogue/{CHANGES,USD.doc/rogue.me; } + build_game hack && { docinto hack ; dodoc hack/{OWNER,Original_READ_ME,READ_ME,help}; } + build_game rogue && { docinto rogue ; dodoc rogue/{CHANGES,USD.doc/rogue.me}; } prepalldocs prepgamesdirs + + # state files + build_game hack && chmod -R ug+rw ${D}/${GAMES_STATEDIR}/hack } |