summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-01 14:34:32 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-04 07:26:35 +0700
commit2884ae67b7ac10d691b73af42dedab2e0b7dd6a2 (patch)
tree30fb26c087b8606b8d27e3287abc8407f8d4ac0b /audio
parent67683a932d7e516c24bfcd0e62696744143801a9 (diff)
downloadslackbuilds-2884ae67b7ac10d691b73af42dedab2e0b7dd6a2.tar.gz
slackbuilds-2884ae67b7ac10d691b73af42dedab2e0b7dd6a2.tar.xz
audio/lv2file: Use long-format github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/lv2file/lv2file.SlackBuild10
-rw-r--r--audio/lv2file/lv2file.info2
2 files changed, 5 insertions, 7 deletions
diff --git a/audio/lv2file/lv2file.SlackBuild b/audio/lv2file/lv2file.SlackBuild
index e60bf3a3ac..f4acd80234 100644
--- a/audio/lv2file/lv2file.SlackBuild
+++ b/audio/lv2file/lv2file.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170301 bkw:
+# - use long-format github URL (thanks, David!)
+
# 20141021 bkw:
# update for 0.84, get rid of argtable patch as it's no longer needed.
@@ -47,16 +50,11 @@ set -e
# version than the release. For 0.84, the 0.83 man page is still valid.
MANVER=0.83
-# download file has different name depending whether the Content-Disposition
-# header is honored.
-[ -e $CWD/$PRGNAM-upstream-$VERSION.tar.gz ] && \
- mv $CWD/$PRGNAM-upstream-$VERSION.tar.gz $CWD/$VERSION.tar.gz
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-upstream-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-upstream-$VERSION.tar.gz
cd $PRGNAM-upstream-$VERSION
chown -R root:root .
diff --git a/audio/lv2file/lv2file.info b/audio/lv2file/lv2file.info
index 97bc4bff9f..57075e5f46 100644
--- a/audio/lv2file/lv2file.info
+++ b/audio/lv2file/lv2file.info
@@ -1,7 +1,7 @@
PRGNAM="lv2file"
VERSION="0.84"
HOMEPAGE="https://github.com/jeremysalwen/lv2file"
-DOWNLOAD="https://github.com/jeremysalwen/lv2file/archive/upstream/0.84.tar.gz \
+DOWNLOAD="https://github.com/jeremysalwen/lv2file/archive/upstream/0.84/lv2file-upstream-0.84.tar.gz \
http://ftp.debian.org/debian/pool/main/l/lv2file/lv2file_0.83-1.debian.tar.gz"
MD5SUM="259719c6291d4b774db3e3a485e12d18 \
e73910547be4c8f37d43bde140e5096e"