summaryrefslogtreecommitdiff
path: root/audio/lv2file/lv2file.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-01 14:34:32 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-04 07:26:35 +0700
commit2884ae67b7ac10d691b73af42dedab2e0b7dd6a2 (patch)
tree30fb26c087b8606b8d27e3287abc8407f8d4ac0b /audio/lv2file/lv2file.SlackBuild
parent67683a932d7e516c24bfcd0e62696744143801a9 (diff)
downloadslackbuilds-2884ae67b7ac10d691b73af42dedab2e0b7dd6a2.tar.gz
audio/lv2file: Use long-format github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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 .