diff options
author | B. Watson <yalhcru@gmail.com> | 2014-03-17 08:11:34 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-21 13:01:18 -0500 |
commit | 6dc058fb86d2758d82f103f9593194403dba9aa6 (patch) | |
tree | 1fb0b04b4be868f5461487455dd2706a878406cb /network/yturl/yturl.SlackBuild | |
parent | 9f24b65f08bad1b115f34c0509d0cefc4840b9e0 (diff) |
network/yturl: Updated for version 1.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yturl/yturl.SlackBuild')
-rw-r--r-- | network/yturl/yturl.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/network/yturl/yturl.SlackBuild b/network/yturl/yturl.SlackBuild index 41e7c8b02501..93b803eef8ed 100644 --- a/network/yturl/yturl.SlackBuild +++ b/network/yturl/yturl.SlackBuild @@ -6,11 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# Download file originally came from github, like so: -# wget -O yturl-master-$(date +%Y%m%d).zip https://github.com/cdown/yturl/archive/master.zip +# 20140316 bkw: +# Updated to 1.16 release, use tar.gz instead of zip file. From now on +# I'll track the releases instead of just grabbing current git... unless +# youtube API changes break the release and upstream takes a long time to +# make a new release. PRGNAM=yturl -VERSION=${VERSION:-20130618} +VERSION=${VERSION:-1.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,14 +46,12 @@ fi set -e -ZIPNAME=$PRGNAM-master - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $ZIPNAME -unzip $CWD/$ZIPNAME-$VERSION.zip -cd $ZIPNAME +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ |