aboutsummaryrefslogtreecommitdiff
path: root/libraries/libzen/libzen.SlackBuild
diff options
context:
space:
mode:
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 bc68dab734710..859ddf7bf4db7 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 \