summaryrefslogtreecommitdiff
path: root/multimedia/lwks/lwks.SlackBuild
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2015-10-28 23:38:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-28 23:38:09 +0700
commit85a7fa26ef1d63a0e803df775781f933810244c1 (patch)
tree46d01fdca9d79b83cd68f84ae917929563284424 /multimedia/lwks/lwks.SlackBuild
parent97ba81d87e30fa86070ad42a521ca46b1afa6090 (diff)
downloadslackbuilds-85a7fa26ef1d63a0e803df775781f933810244c1.tar.gz
multimedia/lwks: Updated for version 12.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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