summaryrefslogtreecommitdiff
path: root/source/x/glu
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-07-24 19:27:45 +0000
committerEric Hameleers <alien@slackware.com>2019-07-25 08:59:59 +0200
commit652e0a15cf4aa30541c94f5f4f7993030fc267d1 (patch)
tree97a7fd7653f9f22685107b97836f1c62a514f970 /source/x/glu
parent15c3cf50ae87e1c630c904f9a20a59e675772582 (diff)
downloadcurrent-652e0a15cf4aa30541c94f5f4f7993030fc267d1.tar.gz
Wed Jul 24 19:27:45 UTC 201920190724192745
d/python-pip-19.2.1-x86_64-1.txz: Upgraded. d/subversion-1.12.2-x86_64-1.txz: Upgraded. l/glib2-2.60.6-x86_64-1.txz: Upgraded. l/python-docutils-0.15-x86_64-1.txz: Upgraded. n/whois-5.5.0-x86_64-1.txz: Upgraded. x/glu-9.0.1-x86_64-1.txz: Upgraded. xfce/xfce4-terminal-0.8.8-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/x/glu')
-rwxr-xr-xsource/x/glu/glu.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/x/glu/glu.SlackBuild b/source/x/glu/glu.SlackBuild
index 3e95616e..146b3472 100755
--- a/source/x/glu/glu.SlackBuild
+++ b/source/x/glu/glu.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=glu
-VERSION=${VERSION:-9.0.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \