summaryrefslogtreecommitdiff
path: root/source/l/lcms2
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-06-17 19:42:26 +0000
committerEric Hameleers <alien@slackware.com>2020-06-18 08:59:52 +0200
commit815d3877048a3e2d0d34b1c96fe3203c98c16f34 (patch)
treeb4600c278b0f7d9e7e6472520a62979b2c5c56ca /source/l/lcms2
parent9c5b3c5ded27e00c682dc83567073f051e7443de (diff)
downloadcurrent-815d3877048a3e2d0d34b1c96fe3203c98c16f34.tar.gz
Wed Jun 17 19:42:26 UTC 202020200617194226
ap/nvme-cli-1.12-x86_64-1.txz: Upgraded. d/python-setuptools-47.3.1-x86_64-1.txz: Upgraded. l/lcms2-2.11-x86_64-1.txz: Upgraded. l/mozilla-nss-3.53.1-x86_64-1.txz: Upgraded. l/python-requests-2.24.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/lcms2')
-rwxr-xr-xsource/l/lcms2/lcms2.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/l/lcms2/lcms2.SlackBuild b/source/l/lcms2/lcms2.SlackBuild
index 154ce30b..c6c082fd 100755
--- a/source/l/lcms2/lcms2.SlackBuild
+++ b/source/l/lcms2/lcms2.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=lcms2
-VERSION=${VERSION:-$(echo $PKGNAM*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d s | rev)}
+VERSION=${VERSION:-$(echo Little-CMS-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -79,9 +79,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf Little-CMS-lcms${VERSION}
-tar xvf $CWD/lcms$VERSION.tar.?z || exit 1
-cd Little-CMS-lcms${VERSION} || exit 1
+rm -rf Little-CMS-${VERSION}
+tar xvf $CWD/Little-CMS-$VERSION.tar.?z || exit 1
+cd Little-CMS-${VERSION} || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \