aboutsummaryrefslogtreecommitdiff
path: root/games/pasang-emas/pasang-emas.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pasang-emas/pasang-emas.SlackBuild')
-rw-r--r--games/pasang-emas/pasang-emas.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/games/pasang-emas/pasang-emas.SlackBuild b/games/pasang-emas/pasang-emas.SlackBuild
index dc5791ba67e7..f968995dc2f5 100644
--- a/games/pasang-emas/pasang-emas.SlackBuild
+++ b/games/pasang-emas/pasang-emas.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pasang-emas
# Copyright 2009-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pasang-emas
-VERSION=${VERSION:-5.2.0}
+VERSION=${VERSION:-6.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -82,9 +80,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix .desktop item.
-sed -i 's|\.png||' data/pasang-emas.desktop.in
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -113,7 +108,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS ChangeLog COPYING NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install