aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Alexandrov <igor.alexandrov@outlook.com>2021-06-13 05:50:23 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-17 00:26:33 +0700
commitb1e8ad56da62095da973ced5b410bd6cbcc8fe1b (patch)
treed51f957612adda71f7de7b4676b0dfcd52835c90
parent90594b47526e025e7f17a60c1b504f752cfa8d02 (diff)
network/pexip-infinity-connect: Updated to version 1.6.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild22
-rw-r--r--network/pexip-infinity-connect/pexip-infinity-connect.desktop4
-rw-r--r--network/pexip-infinity-connect/pexip-infinity-connect.info6
3 files changed, 17 insertions, 15 deletions
diff --git a/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild b/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild
index 357a34a2d0321..9b64dac57d69e 100644
--- a/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild
+++ b/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pexip-infinity-connect
-# Copyright 2020 Igor Alexandrov <igor.alexandrov@outlook.com>
+# Copyright 2020-2021 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pexip-infinity-connect
-SRCNAM=$(tar -tf $PRGNAM*.t?z | head -1)
-VERSION=${VERSION:-$(echo $SRCNAM | cut -d '_' -f 2 | tr '-' '.')}
+VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+ARCNAM=${PRGNAM}_${VERSION}-53046.187.0_linux-x64.tgz
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -36,8 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-set -e
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -48,17 +46,21 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
+set -eu
+
+SRCNAM=$(tar -tf $ARCNAM | head -1)
+
rm -rf $PKG
mkdir -p $TMP $OUTPUT $PKG/{install,opt,usr/{bin,doc/$PRGNAM-$VERSION}}
cd $PKG
-tar -xvf $CWD/$PRGNAM*.t?z
+tar -xvf $CWD/$ARCNAM
mv $SRCNAM opt/$PRGNAM
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
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
diff --git a/network/pexip-infinity-connect/pexip-infinity-connect.desktop b/network/pexip-infinity-connect/pexip-infinity-connect.desktop
index aa50e951d4e9a..4734956753f7a 100644
--- a/network/pexip-infinity-connect/pexip-infinity-connect.desktop
+++ b/network/pexip-infinity-connect/pexip-infinity-connect.desktop
@@ -1,11 +1,11 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Pexip Infinity Connect
-Exec=/opt/pexip-infinity-connect/pexip-infinity-connect %u
+Exec=/usr/bin/pexip-infinity-connect %u
Terminal=false
Type=Application
Icon=pexip-infinity-connect
-Categories=Network;Communication;Video
+Categories=Network;
StartupNotify=true
StartupWMClass=pexip infinity connect
MimeType=x-scheme-handler/pexip-provision;x-scheme-handler/pexip-auth;x-scheme-handler/pexip
diff --git a/network/pexip-infinity-connect/pexip-infinity-connect.info b/network/pexip-infinity-connect/pexip-infinity-connect.info
index b4b16b73e452f..a21e9dd22c29d 100644
--- a/network/pexip-infinity-connect/pexip-infinity-connect.info
+++ b/network/pexip-infinity-connect/pexip-infinity-connect.info
@@ -1,10 +1,10 @@
PRGNAM="pexip-infinity-connect"
-VERSION="1.6.0.52922.63.120"
+VERSION="1.6.2
HOMEPAGE="https://www.pexip.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://dl.pexip.com/connect/nextgen/1.6/pexip-infinity-connect_1.6.0-52920.61.0_linux-x64.tgz"
-MD5SUM_x86_64="04366b531afd0de6d3258f7c0aa8e08d"
+DOWNLOAD_x86_64="https://dl.pexip.com/connect/nextgen/1.6.2/pexip-infinity-connect_1.6.2-53046.187.0_linux-x64.tgz"
+MD5SUM_x86_64="c297c6621048ad3725a9b685cdb78805"
REQUIRES=""
MAINTAINER="Igor Alexandrov"
EMAIL="igor.alexandrov@outlook.com"