diff options
author | Igor Alexandrov <igor.alexandrov@outlook.com> | 2020-04-24 07:59:23 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-24 07:59:23 +0700 |
commit | 8814e2f89968704ba106ac41dcb896c403332df8 (patch) | |
tree | 87e764621866f8beda90994f3ae0c9b657c76478 /network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild | |
parent | f458445756ba788542ffdc8c998ddb38612a0da6 (diff) |
network/pexip-infinity-connect: Updated for v 1.6.0.52922.63.120.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild')
-rw-r--r-- | network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild b/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild index 1330433283b1d..e555e8e34a714 100644 --- a/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild +++ b/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/sh -eu # Slackware build script for pexip-infinity-connect -# Copyright 2020 Igor Alexandrov <igora.vault@gmail.com> +# Copyright 2020 Igor Alexandrov <igor.alexandrov@outlook.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -46,13 +46,11 @@ if [ "$ARCH" != "x86_64" ]; then exit 1 fi -set -e - rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/{install,usr/{bin,lib64,share/applications,doc/$PRGNAM-$VERSION}} +mkdir -p $TMP $OUTPUT $PKG/{install,opt,usr/{bin,doc/$PRGNAM-$VERSION}} cd $PKG tar -xvf $CWD/$PRGNAM*.t?z -mv $SRCNAM usr/lib64/$PRGNAM +mv $SRCNAM opt/$PRGNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -63,11 +61,12 @@ find -L . \ find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -ln -s ../lib64/$PRGNAM/$PRGNAM usr/bin -install -m644 $CWD/$PRGNAM.desktop usr/share/applications +ln -s ../../opt/$PRGNAM/$PRGNAM usr/bin +install -m 644 -D $CWD/$PRGNAM.desktop -t usr/share/applications +install -m 644 -D $CWD/$PRGNAM.png -t usr/share/icons/hicolor/48x48/apps -ln -s ../../lib64/$PRGNAM/LICENSE usr/doc/$PRGNAM-$VERSION -ln -s ../../lib64/$PRGNAM/LICENSES.chromium.html usr/doc/$PRGNAM-$VERSION +ln -s ../../../opt/$PRGNAM/LICENSE usr/doc/$PRGNAM-$VERSION +ln -s ../../../opt/$PRGNAM/LICENSES.chromium.html usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/slack-desc > $PKG/install/slack-desc |