summaryrefslogtreecommitdiff
path: root/games/zsdx/zsdx.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-08-24 07:20:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-24 07:20:24 +0700
commitd85c2729ac3a6ae6e9a3936e4917d378c5fab896 (patch)
tree372353880a0eae613c06406fe1dc62c5dbf3554f /games/zsdx/zsdx.SlackBuild
parent4d1ba56d9c948ff6e1c8d258501d325134af3346 (diff)
downloadslackbuilds-d85c2729ac3a6ae6e9a3936e4917d378c5fab896.tar.gz
games/zsdx: Updated for version 1.12.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zsdx/zsdx.SlackBuild')
-rw-r--r--games/zsdx/zsdx.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/zsdx/zsdx.SlackBuild b/games/zsdx/zsdx.SlackBuild
index 1792a758da..6eb000808f 100644
--- a/games/zsdx/zsdx.SlackBuild
+++ b/games/zsdx/zsdx.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zsdx
-VERSION=${VERSION:-1.12.0}
+VERSION=${VERSION:-1.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,9 +39,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION
+rm -rf $PRGNAM-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM-v$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -61,7 +61,8 @@ cd build
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a changelog.txt license.txt readme.md work/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a changelog.txt license.txt readme.md work/*.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install