summaryrefslogtreecommitdiffstats
path: root/games/hatari/hatari.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-01-03 14:55:36 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 14:30:40 +0700
commit4f07f165caa8a498572958e16f4797495ef5c4f3 (patch)
treee0e116af5475ad811b52055f706821fb7ea779f3 /games/hatari/hatari.SlackBuild
parent154ccd9fe630bc400abb96585cfd587e1144b6a6 (diff)
downloadslackbuilds-4f07f165caa8a498572958e16f4797495ef5c4f3.tar.gz
slackbuilds-4f07f165caa8a498572958e16f4797495ef5c4f3.tar.xz
games/hatari: Updated for version 2.3.1.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/hatari/hatari.SlackBuild')
-rw-r--r--games/hatari/hatari.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/hatari/hatari.SlackBuild b/games/hatari/hatari.SlackBuild
index aad63b65a6..9f0904c9ca 100644
--- a/games/hatari/hatari.SlackBuild
+++ b/games/hatari/hatari.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210102 bkw: update for v2.3.1.
# 20201218 bkw:
# - update for v2.3.0. Can't build older versions, sorry.
# - add new dep, python3.
@@ -63,7 +64,7 @@
# - add mime type and auto-associate ST disk images and executables.
PRGNAM=hatari
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -114,7 +115,9 @@ patch -p1 < $CWD/hatariui-create-cfg-if-missing.diff
# Man pages go in section 6, fix .TH and see-also refs. Also fix a few
# typos and formatting issues.
-patch -p1 < $CWD/manpage.diff
+P="$CWD/manpage.$VERSION.diff"
+[ -e "$P" ] || P="$CWD/manpage.diff"
+patch -p1 < $P
# cmake doesn't support anything like --bindir, --mandir, --docdir. cheat
# a little.