summaryrefslogtreecommitdiffstats
path: root/source/l/openjpeg/openjpeg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/openjpeg/openjpeg.SlackBuild')
-rwxr-xr-xsource/l/openjpeg/openjpeg.SlackBuild8
1 files changed, 4 insertions, 4 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 . \