summaryrefslogtreecommitdiff
path: root/games/vbam/vbam.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-06-12 15:01:53 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-14 01:14:26 +0100
commit100f515545f4f40c94e50eb754422a66c58df06f (patch)
treefe78dddb52a848675b6203f70d69a18247390643 /games/vbam/vbam.SlackBuild
parent9ae010546d685d663c30ab72b7581e819aa4b025 (diff)
downloadslackbuilds-100f515545f4f40c94e50eb754422a66c58df06f.tar.gz
games/vbam: Updated for version 2.0.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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