summaryrefslogtreecommitdiff
path: root/libraries/gwenhywfar/gwenhywfar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gwenhywfar/gwenhywfar.SlackBuild')
-rw-r--r--libraries/gwenhywfar/gwenhywfar.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/gwenhywfar/gwenhywfar.SlackBuild b/libraries/gwenhywfar/gwenhywfar.SlackBuild
index 1a96ec52a7..d9400ddb13 100644
--- a/libraries/gwenhywfar/gwenhywfar.SlackBuild
+++ b/libraries/gwenhywfar/gwenhywfar.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gwenhywfar
-# Copyright 2013-2015 Heiko Rosemann Germany
+# Copyright 2013-2017 Heiko Rosemann Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gwenhywfar
-VERSION=${VERSION:-4.15.3}
+VERSION=${VERSION:-4.17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +60,13 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
+
+# Download filename without content disposition is strange... fix it
+if [ -f $CWD/"download.php?package=01&release=205&file=01&dummy=gwenhywfar-4.17.0.tar.gz" ]; then
+ mv $CWD/"download.php?package=01&release=205&file=01&dummy=gwenhywfar-4.17.0.tar.gz" \
+ $CWD/$PRGNAM-$VERSION.tar.gz
+fi
+
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .