multimedia/lwks: Fix permission post building.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-06-14 17:10:38 +07:00
parent 2f25cf5fd3
commit c8f11d0d64
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -23,11 +23,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf data.tar.xz
ar -p $CWD/$PRGNAM-$VERSION-$ARCH.deb data.tar.xz > lwks.tar.xz
tar xvf $PRGNAM.tar.xz -C $TMP
cd usr/
cd $PKG
ar p $CWD/$PRGNAM-$VERSION-$ARCH.deb data.tar.xz | tar xJv
cd $PKG
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \