diff options
Diffstat (limited to 'source/l/lcms2/lcms2.SlackBuild')
-rwxr-xr-x | source/l/lcms2/lcms2.SlackBuild | 8 |
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 \) \ |