diff options
Diffstat (limited to 'source/l/liblastfm/liblastfm.SlackBuild')
-rwxr-xr-x | source/l/liblastfm/liblastfm.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/l/liblastfm/liblastfm.SlackBuild b/source/l/liblastfm/liblastfm.SlackBuild index 15452fc5..19c97157 100755 --- a/source/l/liblastfm/liblastfm.SlackBuild +++ b/source/l/liblastfm/liblastfm.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for liblastfm # Copyright 2009 Vincent Batts -# Copyright 2011, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2011, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM="liblastfm" -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) "} # Automatically determine the architecture we're building on: @@ -60,7 +60,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.?z || exit 1 cd $PKGNAM-$VERSION || exit 1 chown -R root:root . find . \ |