libraries/libzen: Amend download.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Jeremy Hansen 2017-03-27 20:48:15 +01:00 committed by Willy Sudiarto Raharjo
parent 0b5dca520f
commit d805898ffc
2 changed files with 9 additions and 7 deletions

View File

@ -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 \

View File

@ -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=""