From 652e0a15cf4aa30541c94f5f4f7993030fc267d1 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 24 Jul 2019 19:27:45 +0000 Subject: Wed Jul 24 19:27:45 UTC 2019 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. --- source/x/glu/glu.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/x/glu') 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 . \ -- cgit v1.2.3