summaryrefslogtreecommitdiffstats
path: root/games/vbam/vbam.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/vbam/vbam.SlackBuild')
-rw-r--r--games/vbam/vbam.SlackBuild31
1 files changed, 25 insertions, 6 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index f1e1d1381a..975d4f5837 100644
--- a/games/vbam/vbam.SlackBuild
+++ b/games/vbam/vbam.SlackBuild
@@ -9,6 +9,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240215 bkw: update for v2.1.9.
+# 20231219 bkw: *finally* update, for v2.1.8.
+
+# 20230714 bkw: no changes, just a note to myself: v2.1.6 won't build,
+# and nothing in post-2.1.6 git helps. Visit again later.
+
+# 20230107 bkw: update for v2.1.5.
+
# 20211117 bkw: note to self: there's been recent activity in
# upstream's git. If another 6-12 months goes by without a release,
# consider updating this for the latest git.
@@ -55,8 +63,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vbam
-VERSION=${VERSION:-2.1.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -110,6 +118,14 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# 20230107 bkw: doubleplusungood:
+# sbrun: WARNING: files altered outside the sandbox:
+# u /root/.gnupg/trustdb.gpg
+# I don't know why it's doing this, but this will prevent it.
+export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
+mkdir -p fakehome
+export HOME=$( pwd )/fakehome
+
# if both wx(Python|GTK) 2 and 3 are installed, /usr/bin/wx-config
# is a symlink to the config for whichever was installed last. Avoid
# confusion, force the correct version.
@@ -176,21 +192,24 @@ cd build
make install DESTDIR=$PKG
cd ..
+# 20230107 bkw: this gets installed in the wrong place in 2.1.5.
+[ -e $PKG/usr/bin/$SRCNAM ] && \
+ mv $PKG/usr/bin/$SRCNAM $PKG/usr/games && \
+ rmdir $PKG/usr/bin
+
strip $PKG/usr/games/*
-gzip $PKG/usr/man/man6/$PRGNAM.6
+gzip $PKG/usr/man/man6/*.6
mkdir -p $PKG/install
if [ -x $PKG/usr/games/$SRCNAM ]; then
- gzip $PKG/usr/man/man6/$SRCNAM.6
-
# in case someone's missing /usr/games from $PATH:
sed -i 's,^Exec=,&/usr/games/,' $PKG/usr/share/applications/*desktop
# old-style windowmanagers might need this:
mkdir -p $PKG/usr/share/pixmaps
- ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+ ln -s ../icons/hicolor/48x48/apps/$SRCNAM.png $PKG/usr/share/pixmaps/$SRCNAM.png
# only need the doinst.sh if the WX GUI was built.
cat $CWD/doinst.sh > $PKG/install/doinst.sh