From 100f515545f4f40c94e50eb754422a66c58df06f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 12 Jun 2018 15:01:53 -0400 Subject: games/vbam: Updated for version 2.0.2. Signed-off-by: B. Watson --- games/vbam/vbam.SlackBuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'games/vbam/vbam.SlackBuild') 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 -- cgit v1.2.3