summaryrefslogtreecommitdiffstats
path: root/games/vbam
diff options
context:
space:
mode:
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
commite2040b5894da3b28d991e4772284026273c54621 (patch)
treee16fb31c3d51c83525bafa696ddfab43536ef5b5 /games/vbam
parent7cfdec026a807fd01a7dd1e7dd570db55e0cd14e (diff)
downloadslackbuilds-e2040b5894da3b28d991e4772284026273c54621.tar.gz
slackbuilds-e2040b5894da3b28d991e4772284026273c54621.tar.xz
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')
-rw-r--r--games/vbam/vbam.SlackBuild25
-rw-r--r--games/vbam/vbam.info6
2 files changed, 22 insertions, 9 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index f1e1d1381a..a1b042a691 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
diff --git a/games/vbam/vbam.info b/games/vbam/vbam.info
index 1b58975d3d..246ed0b923 100644
--- a/games/vbam/vbam.info
+++ b/games/vbam/vbam.info
@@ -1,8 +1,8 @@
PRGNAM="vbam"
-VERSION="2.1.4"
+VERSION="2.1.5"
HOMEPAGE="http://vba-m.com/"
-DOWNLOAD="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v2.1.4/visualboyadvance-m-2.1.4.tar.gz"
-MD5SUM="394119c22b531bf0ca79ffc7717057d1"
+DOWNLOAD="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v2.1.5/visualboyadvance-m-2.1.5.tar.gz"
+MD5SUM="98842ccfcbe1e0eacaba0a3cc0a97298"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""