summaryrefslogtreecommitdiff
path: root/source/l/lcms2
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/lcms2')
-rw-r--r--source/l/lcms2/lcms.url1
-rwxr-xr-xsource/l/lcms2/lcms2.SlackBuild12
2 files changed, 7 insertions, 6 deletions
diff --git a/source/l/lcms2/lcms.url b/source/l/lcms2/lcms.url
new file mode 100644
index 00000000..bb22f240
--- /dev/null
+++ b/source/l/lcms2/lcms.url
@@ -0,0 +1 @@
+http://github.com/mm2/Little-CMS
diff --git a/source/l/lcms2/lcms2.SlackBuild b/source/l/lcms2/lcms2.SlackBuild
index 5942a14d..154ce30b 100755
--- a/source/l/lcms2/lcms2.SlackBuild
+++ b/source/l/lcms2/lcms2.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2012, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2012, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=lcms2
-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 s | 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 $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
-cd $PKGNAM-$VERSION || exit 1
+rm -rf Little-CMS-lcms${VERSION}
+tar xvf $CWD/lcms$VERSION.tar.?z || exit 1
+cd Little-CMS-lcms${VERSION} || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \