aboutsummaryrefslogtreecommitdiff
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
parent0b5dca520f8d99afd99d11c5a8f90ffae45904ba (diff)
libraries/libzen: Amend download.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/libzen/libzen.SlackBuild12
-rw-r--r--libraries/libzen/libzen.info4
2 files changed, 9 insertions, 7 deletions
diff --git a/libraries/libzen/libzen.SlackBuild b/libraries/libzen/libzen.SlackBuild
index bc68dab73471..859ddf7bf4db 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 \
diff --git a/libraries/libzen/libzen.info b/libraries/libzen/libzen.info
index 68ffe30c4664..4282d3780a4e 100644
--- a/libraries/libzen/libzen.info
+++ b/libraries/libzen/libzen.info
@@ -1,8 +1,8 @@
PRGNAM="libzen"
VERSION="0.4.34"
HOMEPAGE="https://github.com/MediaArea/ZenLib"
-DOWNLOAD="https://mediaarea.net/download/source/libzen/0.4.34/libzen_0.4.34.tar.bz2"
-MD5SUM="d554f97a5f1b54e36a8d2ff5c5361f1b"
+DOWNLOAD="https://github.com/MediaArea/ZenLib/archive/v0.4.34/ZenLib-0.4.34.tar.gz"
+MD5SUM="3ef336b366b078c115c28d3918cdd633"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""