aboutsummaryrefslogtreecommitdiff
path: root/multimedia/lwks/lwks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/lwks/lwks.SlackBuild')
-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 ced82cca3cd2..bd412df8c955 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 \