diff options
author | klaatu <klaatu@member.fsf.org> | 2017-04-10 23:07:27 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-10 23:07:27 +0700 |
commit | e922a8b45b27680891e764a77407365f77d44fcd (patch) | |
tree | 85a9e1b286d6252b969dd83282c6d9b7358d6aba /multimedia/lwks/lwks.SlackBuild | |
parent | cbbe1ca8212183c1c3539c2778c1972ace7b6321 (diff) | |
download | slackbuilds-e922a8b45b27680891e764a77407365f77d44fcd.tar.gz |
multimedia/lwks: Updated for version 14.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/lwks/lwks.SlackBuild')
-rw-r--r-- | multimedia/lwks/lwks.SlackBuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild index c6ecff6eff..ced82cca3c 100644 --- a/multimedia/lwks/lwks.SlackBuild +++ b/multimedia/lwks/lwks.SlackBuild @@ -9,7 +9,7 @@ # without any warranty. PRGNAM=lwks -VERSION=${VERSION:-12.6.0} +VERSION=${VERSION:-14.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=amd64 @@ -24,9 +24,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf data.tar.gz -ar -p $CWD/$PRGNAM-$VERSION-$ARCH.deb data.tar.gz > lwks.tar.gz -tar -xzvf $PRGNAM.tar.gz -C $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/ chown -R root:root . find -L . \ @@ -43,13 +43,18 @@ 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 +# patch thanks to Christoph Willing +sed -i 's|/usr/lib/lightworks/ntcardvt|/usr/lib64/lightworks/ntcardvt|' \ + $PKG/usr/bin/lightworks mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# editshare controller udev rules. +# more thanks to Christoph Willing +mkdir -p $PKG/etc/udev/rules.d +cp -rv $TMP/lib/udev/rules.d/* $PKG/etc/udev/rules.d/ + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |