summaryrefslogtreecommitdiffstats
path: root/games/marathon2-data/marathon2-data.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-10-10 16:43:45 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:41 +0700
commit5099f824e2c8fec801c29573a19b7d0eca3026ea (patch)
treef1f9d57041c97bf3b6c45e4f2e52954d2e6bd855 /games/marathon2-data/marathon2-data.SlackBuild
parent9a1951e5d775fa068518619cb08b82508b3b6055 (diff)
downloadslackbuilds-5099f824e2c8fec801c29573a19b7d0eca3026ea.tar.gz
slackbuilds-5099f824e2c8fec801c29573a19b7d0eca3026ea.tar.xz
games/marathon2-data: Updated for version 20210408.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/marathon2-data/marathon2-data.SlackBuild')
-rw-r--r--games/marathon2-data/marathon2-data.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/marathon2-data/marathon2-data.SlackBuild b/games/marathon2-data/marathon2-data.SlackBuild
index bfa0336126..933722331c 100644
--- a/games/marathon2-data/marathon2-data.SlackBuild
+++ b/games/marathon2-data/marathon2-data.SlackBuild
@@ -6,19 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211010 bkw: update for 20210408
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=marathon2-data
-VERSION=${VERSION:-20200904}
+VERSION=${VERSION:-20210408}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -46,8 +45,8 @@ chown -R root:root $DATADIR
# NB: the usual find predicate is different (zipfile stores +x permissions
# on some files for no good reason)
find $DATADIR \
- \( -type f -exec chmod 644 {} \; \) -o \
- \( -type d -exec chmod 755 {} \; \)
+ \( -type f -exec chmod 644 {} \+ \) -o \
+ \( -type d -exec chmod 755 {} \+ \)
mkdir -p $PKG/usr/games
cat $CWD/$WRAPPER > $PKG/usr/games/$WRAPPER