aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-14 17:10:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-14 17:11:09 +0700
commitc8f11d0d64909758e5374fa645cbca054dd6f7f8 (patch)
treef0871c768fe4d7f201ca2f3c40013fe101931e8d
parent2f25cf5fd32427f04d4dbe6127f16c74114f2696 (diff)
multimedia/lwks: Fix permission post building.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/lwks/lwks.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild
index ced82cca3cd2b..bd412df8c9556 100644
--- a/multimedia/lwks/lwks.SlackBuild
+++ b/multimedia/lwks/lwks.SlackBuild
@@ -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 \