summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"