diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-07 22:35:03 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:21 +0700 |
commit | e2040b5894da3b28d991e4772284026273c54621 (patch) | |
tree | e16fb31c3d51c83525bafa696ddfab43536ef5b5 /games/vbam/vbam.SlackBuild | |
parent | 7cfdec026a807fd01a7dd1e7dd570db55e0cd14e (diff) |
games/vbam: Updated for version 2.1.5.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/vbam/vbam.SlackBuild')
-rw-r--r-- | games/vbam/vbam.SlackBuild | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild index f1e1d1381af01..a1b042a6913d1 100644 --- a/games/vbam/vbam.SlackBuild +++ b/games/vbam/vbam.SlackBuild @@ -9,6 +9,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 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 +57,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vbam -VERSION=${VERSION:-2.1.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.1.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -110,6 +112,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 +186,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 |