diff options
Diffstat (limited to 'source/l')
-rwxr-xr-x | source/l/openjpeg/openjpeg.SlackBuild | 8 | ||||
-rwxr-xr-x | source/l/readline/readline.SlackBuild | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/l/openjpeg/openjpeg.SlackBuild b/source/l/openjpeg/openjpeg.SlackBuild index 054a1d33..99c222e7 100755 --- a/source/l/openjpeg/openjpeg.SlackBuild +++ b/source/l/openjpeg/openjpeg.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for openjpeg # Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2014, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2014, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=openjpeg -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) "} @@ -75,7 +75,7 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf openjpeg-$VERSION -tar xvf $CWD/openjpeg-$VERSION.tar.?z* || exit 1 +tar xvf $CWD/openjpeg-$VERSION.tar.?z || exit 1 cd openjpeg-$VERSION || exit 1 chown -R root:root . find . \ diff --git a/source/l/readline/readline.SlackBuild b/source/l/readline/readline.SlackBuild index 382e3607..670b44f4 100755 --- a/source/l/readline/readline.SlackBuild +++ b/source/l/readline/readline.SlackBuild @@ -59,7 +59,7 @@ rm -rf $PKG mkdir -p $TMP $PKG # Determine readline patchlevel: -PATCHLEVEL="$( cd $CWD/readline-${VERSION}-patches ; /bin/ls readline7?-??? 2> /dev/null | tail -1 | cut -f 2 -d - 2> /dev/null )" +PATCHLEVEL="$( cd $CWD/readline-${VERSION}-patches ; /bin/ls readline??-??? 2> /dev/null | tail -1 | cut -f 2 -d - 2> /dev/null )" if [ "$PATCHLEVEL" = "" ]; then PATCHLEVEL=000 fi |