mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
c95ef72f9a
commit
43e6c70e0b
1 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue