diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-14 18:18:47 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-16 08:20:02 +0700 |
commit | 297c711b80161f824d70c0e221e5c41abe07eeb0 (patch) | |
tree | 4a69b4411b93f050d4b29ec89a45a1727d3baed5 /multimedia | |
parent | 89ae747395ba19dd448068b9552beab502558dd5 (diff) |
multimedia/lwks: Fix build script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/lwks/lwks.SlackBuild | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild index e9edc4bf53f97..804308a8e52c2 100644 --- a/multimedia/lwks/lwks.SlackBuild +++ b/multimedia/lwks/lwks.SlackBuild @@ -8,6 +8,10 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +# 20220214 bkw: this script now builds a correct package, but it's +# still broken because this version of lightworks needs libjpeg.so.8 +# and the old openssl libcrypto.so.1.0.0. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lwks @@ -17,9 +21,6 @@ TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=amd64 -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-x86_64-$BUILD$TAG.$PKGTYPE" exit 0 @@ -39,29 +40,28 @@ cd $PKG chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ ## 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/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/ +mkdir -p $PKG/usr/share/fonts/TTF +mv $PKG/usr/share/fonts/truetype $PKG/usr/share/fonts/TTF +mv $PKG/usr/lib $PKG/usr/lib64 # 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 +mv $PKG/usr/share/doc/lightworks/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share/doc 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/etc/udev +mv $PKG/lib/udev/rules.d $PKG/etc/udev/rules.d/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |