summaryrefslogtreecommitdiffstats
path: root/audio/lv2file/lv2file.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/lv2file/lv2file.SlackBuild')
-rw-r--r--audio/lv2file/lv2file.SlackBuild10
1 files changed, 4 insertions, 6 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 .