summaryrefslogtreecommitdiff
path: root/multimedia/lwks/lwks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/lwks/lwks.SlackBuild')
-rw-r--r--multimedia/lwks/lwks.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild
index 993ad92545..ff6655fcd1 100644
--- a/multimedia/lwks/lwks.SlackBuild
+++ b/multimedia/lwks/lwks.SlackBuild
@@ -9,7 +9,7 @@
# without any warranty.
PRGNAM=lwks
-VERSION=${VERSION:-12.0.3.I}
+VERSION=${VERSION:-12.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=amd64
@@ -38,10 +38,15 @@ find -L . \
## install
mkdir -p $PKG/usr/bin $PKG/usr/lib64 $PKG/usr/share/fonts/TTF
cp -v $TMP/usr/bin/lightworks $PKG/usr/bin/
-cp -rv $TMP/usr/lib/* $PKG/usr/lib64
+cp -rv $TMP/usr/lib/* $PKG/usr/lib64/
cp -rv $TMP/usr/share/applications $PKG/usr/share/
cp -rv $TMP/usr/share/fonts/truetype/lw3.ttf $PKG/usr/share/fonts/TTF/
cp -rv $TMP/usr/share/lightworks $PKG/usr/share/
+
+# arch patch thanks to Marco Lavorini
+sed -i 's|/usr/lib/lightworks/spawn|/usr/lib64/lightworks/spawn|' \
+$PKG/usr/bin/lightworks
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild