This hack makes ZAngband remember its highscores by touching the file in a more gentle way. diff -u /usr/portage/app-games/zangband/zangband-2.7.1.ebuild.orig /usr/portage/app-games/zangband/zangband-2.7.1.ebuild --- /usr/portage/app-games/zangband/zangband-2.7.1.ebuild.orig 2002-08-16 21:34:07.000000000 +0200 +++ /usr/portage/app-games/zangband/zangband-2.7.1.ebuild 2002-08-16 21:32:44.000000000 +0200 @@ -31,7 +31,17 @@ emake || die } +pkg_preinst() { + rm /var/tmp/portage/zangband-2.7.1/image/usr/share/games/zangband/lib/apex/scores.raw +} + src_install() { make DESTDIR=${D} DOCDIR=/usr/share/doc/{P} install || die dodoc readme z_faq.txt z_update.txt } + +pkg_postinst() { + touch /usr/share/games/zangband/lib/apex/scores.raw + chown -R root.games /usr/share/games/zangband/lib/apex/ + chmod -R g+w /usr/share/games/zangband/lib/apex/ +}
By the way, this game has been intensely tested on PPC ;-)