summaryrefslogtreecommitdiff
path: root/games/vbam/vbam.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/vbam/vbam.SlackBuild')
-rw-r--r--games/vbam/vbam.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index d7249c4475..4dc06ba1c9 100644
--- a/games/vbam/vbam.SlackBuild
+++ b/games/vbam/vbam.SlackBuild
@@ -23,6 +23,8 @@
# Modified by the SlackBuilds.org project.
+# 20180612 bkw: updated for 2.0.2.
+
# 20171219 bkw: updated for 2.0.1.
# 20170302 bkw: use long-format github URL
@@ -43,7 +45,7 @@
# - Correct README, plus cosmetic reformatting.
PRGNAM=vbam
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -104,11 +106,11 @@ find -L . \
# confusion, force the correct version.
WXCONF=${WXCONF:-/usr/lib$LIBDIRSUFFIX/wx/config/gtk2-unicode-3.0}
-# Upstream says: "Note to distro packagers: If you build from a tarball
-# rather than from git, please include 30b6ecf and 4648638 as patches. These
-# didn't make it into the tag."
-patch -p1 < $CWD/30b6ecf.diff
-patch -p1 < $CWD/4648638.diff
+# upstream cleverly parses their own ChangeLog to get the version number
+# that gets compiled into the binary. They un-cleverly failed to follow
+# their own formatting rules for v2.0.2, meaning the 2.0.2 executable
+# says 2.0.1 in its window title. So:
+sed -i '/\[2\.0\.2\]/s,Bug fix release,-,' CHANGELOG.md
mkdir -p build
cd build