aboutsummaryrefslogtreecommitdiff
path: root/libraries/libopenraw
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-15 17:04:17 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:20:10 +0700
commit0fdaf7cfa5f9e83afcf6e755cfbea6f6ec7695a1 (patch)
treee2bbb387134bce493cbd389bc9d9081f5c9accd1 /libraries/libopenraw
parent718db268b31b83fa13b21f8194b4ecd7ed30600a (diff)
libraries/libopenraw: Fix my own stupidity.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libopenraw')
-rw-r--r--libraries/libopenraw/libopenraw.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libopenraw/libopenraw.SlackBuild b/libraries/libopenraw/libopenraw.SlackBuild
index 0ce642f4e5877..85a34819967ea 100644
--- a/libraries/libopenraw/libopenraw.SlackBuild
+++ b/libraries/libopenraw/libopenraw.SlackBuild
@@ -81,12 +81,16 @@ fi
set -e
+# the last part of the vendored sources filename. was gonna stay in sync
+# with BUILD, but I had to bump BUILD without changing the sources.
+VSVER=${VSVER:-1}
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-tar xvf $CWD/$PRGNAM-vendored-sources-$VERSION-$BUILD.tar.xz
+tar xvf $CWD/$PRGNAM-vendored-sources-$VERSION-$VSVER.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \