aboutsummaryrefslogtreecommitdiff
path: root/games/pangzero/pangzero.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pangzero/pangzero.SlackBuild')
-rw-r--r--games/pangzero/pangzero.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/games/pangzero/pangzero.SlackBuild b/games/pangzero/pangzero.SlackBuild
index 56c12ffc19..5fc5847a64 100644
--- a/games/pangzero/pangzero.SlackBuild
+++ b/games/pangzero/pangzero.SlackBuild
@@ -15,12 +15,16 @@
# 20211020 bkw: there's a -5 debian rev now, but nothing new for us.
# it's just debian-specific bookkeeping changes.
+# 20250625 bkw: there's a -6 debian rev, but again, nothing new for us.
+# However, I fixed the executable so the perl version isn't hardcoded
+# in the shebang line, so this is BUILD=2.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pangzero
VERSION=${VERSION:-1.4.1+git20121103}
DEBREV=${DEBREV:-3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,6 +68,10 @@ perl Build.PL
# couldn't figure out how to get the game to install in /usr/games, so:
mv $PKG/usr/bin $PKG/usr/games
+# 20250625 bkw: the shebang line looks like: #!/usr/bin/perl5.34.3
+# ...which is silly, especially for a noarch package.
+sed -i '1s/\(perl\).*/\1/' $PKG/usr/games/$PRGNAM
+
mkdir -p $PKG/usr/share/pixmaps \
$PKG/usr/share/applications \
$PKG/usr/man/man6 \