summaryrefslogtreecommitdiffstats
path: root/network/yturl/yturl.SlackBuild
diff options
context:
space:
mode:
author B. Watson2017-03-02 22:18:07 +0100
committer Willy Sudiarto Raharjo2017-03-04 01:26:50 +0100
commitcccc2c0375f8b21e158e9ed787aa0c91e3de5390 (patch)
treeefe8c9f7cf2c604ccf270ec53a3b50c549c6e3b1 /network/yturl/yturl.SlackBuild
parent19cdee5dbeaffd18837cc1df4a256dfbf24efe03 (diff)
downloadslackbuilds-cccc2c0375f8b21e158e9ed787aa0c91e3de5390.tar.gz
network/yturl: Use long-format github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network/yturl/yturl.SlackBuild')
-rw-r--r--network/yturl/yturl.SlackBuild24
1 files changed, 13 insertions, 11 deletions
diff --git a/network/yturl/yturl.SlackBuild b/network/yturl/yturl.SlackBuild
index 094347bb3f..bda92f3ac9 100644
--- a/network/yturl/yturl.SlackBuild
+++ b/network/yturl/yturl.SlackBuild
@@ -6,22 +6,24 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# 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.
+# 20170302 bkw: use long-format github URL
-# 20150120 bkw: upgrade to 1.17.0. The old download URL was broken,
-# wonder how long for?
-# Use "python setup.py" since upstream has started requiring it.
-# Get rid of unused SLKCFLAGS and LIBDIRSUFFIX variables.
+# 20160727 bkw: upgrade to 2.0.1.
# 20150910 bkw: upgrade to 1.20.0.
# ARCH=noarch, there's no object code in the package.
# Add DESCRIPTION section to man page.
-# 20160727 bkw: upgrade to 2.0.1.
+# 20150120 bkw: upgrade to 1.17.0. The old download URL was broken,
+# wonder how long for?
+# Use "python setup.py" since upstream has started requiring it.
+# Get rid of unused SLKCFLAGS and LIBDIRSUFFIX variables.
+
+# 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:-2.0.1}
@@ -41,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \