summaryrefslogtreecommitdiff
path: root/libraries/libzen/libzen.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+SBo@gmail.com>2017-03-27 20:48:15 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-01 06:56:56 +0700
commitd805898ffc7a5863cfd10b16c535c68b87af88b2 (patch)
treea01018e2b5828b2c0274be60a19be5e6f1e4ecba /libraries/libzen/libzen.SlackBuild
parent0b5dca520f8d99afd99d11c5a8f90ffae45904ba (diff)
downloadslackbuilds-d805898ffc7a5863cfd10b16c535c68b87af88b2.tar.gz
libraries/libzen: Amend download.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libzen/libzen.SlackBuild')
-rw-r--r--libraries/libzen/libzen.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/libzen/libzen.SlackBuild b/libraries/libzen/libzen.SlackBuild
index bc68dab734..859ddf7bf4 100644
--- a/libraries/libzen/libzen.SlackBuild
+++ b/libraries/libzen/libzen.SlackBuild
@@ -2,9 +2,9 @@
# Slackware build script for libzen
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2012-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,6 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libzen
+SRCNAM=ZenLib
VERSION=${VERSION:-0.4.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +62,10 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ZenLib
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.bz2
-cd ZenLib
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \