diff options
author | Martin BĂ„ngens <marbangens@gmail.com> | 2022-07-08 21:25:05 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 10:06:15 +0700 |
commit | 43e6c70e0bd60dfb4f8df7df7b718de44ffe9e7b (patch) | |
tree | ffc962b5bc64462454dd8393f8de456e119da772 /libraries | |
parent | c95ef72f9a930b4b80e27514e8662ebde2453f1f (diff) |
libraries/vst3sdk: Fix directory ownership and pc file.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/vst3sdk/vst3sdk.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/libraries/vst3sdk/vst3sdk.SlackBuild b/libraries/vst3sdk/vst3sdk.SlackBuild index 8f981d88f17da..7e578abd91b41 100644 --- a/libraries/vst3sdk/vst3sdk.SlackBuild +++ b/libraries/vst3sdk/vst3sdk.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vst3sdk VERSION=${VERSION:-3.7.5} SDK_BUILD=${SDK_BUILD:-_build_44} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch @@ -54,10 +54,9 @@ tar xf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -#handle if its 32bit but this should be in lib64 but lib: is not set -mkdir -p $PKG/usr/lib/pkgconfig -cp $CWD/vst3sdk.pc $PKG/usr/lib/pkgconfig/ -sed -i "s/VERSION/$VERSION_$SDK_BUILD/g" $PKG/usr/lib/pkgconfig/vst3sdk.pc +mkdir -p $PKG/usr/share/pkgconfig +cp $CWD/vst3sdk.pc $PKG/usr/share/pkgconfig/ +sed -i "s/VERSION/$VERSION_$SDK_BUILD/g" $PKG/usr/share/pkgconfig/vst3sdk.pc mkdir -p $PKG/usr/include/vst3sdk cp -a base $PKG/usr/include/vst3sdk/ @@ -78,9 +77,13 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -chmod -R 644 $PKG/usr/include/vst3sdk -chmod -R 644 $PKG/usr/doc/$PRGNAM-$VERSION +chmod 755 $PKG/usr/include/vst3sdk +find $PKG/usr/include/vst3sdk -type d -exec chmod 755 {} + +find $PKG/usr/include/vst3sdk -type f -exec chmod 644 {} + + +chmod 755 $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc/$PRGNAM-$VERSION -type d -exec chmod 755 {} + +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |