summaryrefslogtreecommitdiff
path: root/source/n/nettle
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/nettle')
-rwxr-xr-xsource/n/nettle/nettle.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/n/nettle/nettle.SlackBuild b/source/n/nettle/nettle.SlackBuild
index 8a922345..bd438487 100755
--- a/source/n/nettle/nettle.SlackBuild
+++ b/source/n/nettle/nettle.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=nettle
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-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.?*z || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?* || exit 1
cd $PKGNAM-$VERSION
chown -R root:root .
find . \