1
0
mirror of https://salsa.debian.org/games-team/bsdgames synced 2024-11-02 16:37:17 -04:00

Update d/rules for removed games

This commit is contained in:
Dr. Tobias Quathamer 2024-04-01 18:05:02 +02:00
parent 2000a1356f
commit 74cbea4e89

12
debian/rules vendored
View File

@ -23,16 +23,8 @@ override_dh_auto_build:
override_dh_installdocs:
dh_installdocs
cp atc/BUGS debian/bsdgames/usr/share/doc/bsdgames/BUGS.atc
cp hunt/README debian/bsdgames/usr/share/doc/bsdgames/README.hunt
cp phantasia/README debian/bsdgames/usr/share/doc/bsdgames/README.phantasia
cp boggle/README debian/bsdgames/usr/share/doc/bsdgames/README.boggle
cp hack/Original_READ_ME debian/bsdgames/usr/share/doc/bsdgames/Original_READ_ME.hack
cp hack/READ_ME debian/bsdgames/usr/share/doc/bsdgames/READ_ME.hack
# Move phantasia's binary state files into /usr, they are copied
# back to /var in the postinst.
mv debian/bsdgames/var/games/bsdgames/phantasia/monsters \
debian/bsdgames/var/games/bsdgames/phantasia/void \
debian/bsdgames/usr/share/games/bsdgames/phantasia/
cat COPYING >> debian/bsdgames/usr/share/doc/bsdgames/copyright
override_dh_install:
@ -56,7 +48,6 @@ override_dh_fixperms:
debian/bsdgames/usr/games/robots \
debian/bsdgames/usr/games/snake \
debian/bsdgames/usr/games/tetris-bsd \
debian/bsdgames/usr/games/phantasia \
debian/bsdgames/usr/games/sail \
debian/bsdgames/usr/games/hack
chmod g+s debian/bsdgames/usr/games/atc \
@ -66,19 +57,16 @@ override_dh_fixperms:
debian/bsdgames/usr/games/robots \
debian/bsdgames/usr/games/snake \
debian/bsdgames/usr/games/tetris-bsd \
debian/bsdgames/usr/games/phantasia \
debian/bsdgames/usr/games/sail \
debian/bsdgames/usr/games/hack
# The game directories need to be sgid too, and let's
# remove all the zero byte score files in them.
chown root:games debian/bsdgames/var/games/bsdgames/ \
debian/bsdgames/var/games/bsdgames/sail \
debian/bsdgames/var/games/bsdgames/phantasia \
debian/bsdgames/var/games/bsdgames/hack \
debian/bsdgames/var/games/bsdgames/hack/save
chmod g+rws debian/bsdgames/var/games/bsdgames/ \
debian/bsdgames/var/games/bsdgames/sail \
debian/bsdgames/var/games/bsdgames/phantasia \
debian/bsdgames/var/games/bsdgames/hack \
debian/bsdgames/var/games/bsdgames/hack/save
find debian/bsdgames/var/games/bsdgames -size 0 -exec rm {} \;