summaryrefslogtreecommitdiff
path: root/source/l/gmp
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-01-18 20:48:32 +0000
committerEric Hameleers <alien@slackware.com>2020-01-19 08:59:46 +0100
commit0a897b7542632cae0868001f946501f1cebd8e77 (patch)
tree2f1cc937886b7ca7fa6aebd33e14e2d241f84088 /source/l/gmp
parent30558bb424de1b1c99829c90af20a64c5aa011bc (diff)
downloadcurrent-0a897b7542632cae0868001f946501f1cebd8e77.tar.gz
Sat Jan 18 20:48:32 UTC 202020200118204832
l/gegl-0.4.20-x86_64-1.txz: Upgraded. l/gmp-6.2.0-x86_64-1.txz: Upgraded. l/netpbm-10.89.01-x86_64-1.txz: Upgraded. x/libva-2.6.1-x86_64-1.txz: Upgraded. x/xterm-352-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/gmp')
-rwxr-xr-xsource/l/gmp/gmp.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/l/gmp/gmp.SlackBuild b/source/l/gmp/gmp.SlackBuild
index 78eb0485..aed3e851 100755
--- a/source/l/gmp/gmp.SlackBuild
+++ b/source/l/gmp/gmp.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2015, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2015, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gmp
-VERSION=${VERSION:-$(echo gmp-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo gmp-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )
@@ -79,7 +79,7 @@ esac
cd $TMP
rm -rf gmp-$VERSION
-tar xvf $CWD/gmp-$VERSION.tar.xz || exit 1
+tar xvf $CWD/gmp-$VERSION.tar.?z || exit 1
cd gmp-$VERSION || exit 1
chown -R root:root .