summaryrefslogtreecommitdiffstats
path: root/network/yturl
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-02 16:18:07 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-04 07:26:50 +0700
commitcccc2c0375f8b21e158e9ed787aa0c91e3de5390 (patch)
treeefe8c9f7cf2c604ccf270ec53a3b50c549c6e3b1 /network/yturl
parent19cdee5dbeaffd18837cc1df4a256dfbf24efe03 (diff)
downloadslackbuilds-cccc2c0375f8b21e158e9ed787aa0c91e3de5390.tar.gz
slackbuilds-cccc2c0375f8b21e158e9ed787aa0c91e3de5390.tar.xz
network/yturl: Use long-format github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network/yturl')
-rw-r--r--network/yturl/yturl.SlackBuild24
-rw-r--r--network/yturl/yturl.info2
2 files changed, 14 insertions, 12 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 . \
diff --git a/network/yturl/yturl.info b/network/yturl/yturl.info
index 5e80bc77f4..23cb6e81b1 100644
--- a/network/yturl/yturl.info
+++ b/network/yturl/yturl.info
@@ -1,7 +1,7 @@
PRGNAM="yturl"
VERSION="2.0.1"
HOMEPAGE="https://github.com/cdown/yturl"
-DOWNLOAD="https://github.com/cdown/yturl/archive/2.0.1.tar.gz"
+DOWNLOAD="https://github.com/cdown/yturl/archive/2.0.1/yturl-2.0.1.tar.gz"
MD5SUM="5f33af9a658c6034761b0ee00e939562"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""