diff options
Diffstat (limited to 'network/bluejeans')
-rw-r--r-- | network/bluejeans/bluejeans.SlackBuild | 31 | ||||
-rw-r--r-- | network/bluejeans/bluejeans.info | 6 |
2 files changed, 23 insertions, 14 deletions
diff --git a/network/bluejeans/bluejeans.SlackBuild b/network/bluejeans/bluejeans.SlackBuild index 7ab75e1360..7b5a72f5e1 100644 --- a/network/bluejeans/bluejeans.SlackBuild +++ b/network/bluejeans/bluejeans.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for bluejeans -# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@outlook.com> +# Copyright 2019-2021 Igor Alexandrov <igor.alexandrov@outlook.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bluejeans -VERSION=${VERSION:-2.19.0.61} +VERSION=${VERSION:-2.22.0.87} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$(uname -m)" in @@ -35,9 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -set -e +# 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-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -50,17 +58,18 @@ if [ "$ARCH" != "x86_64" ]; then exit 1 fi +set -eu + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG rpm2cpio $CWD/${SRCNAM}_${VERSION}.rpm | cpio -idmv - 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 @@ -80,4 +89,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/bluejeans/bluejeans.info b/network/bluejeans/bluejeans.info index 589a4b2ef4..b972c16a09 100644 --- a/network/bluejeans/bluejeans.info +++ b/network/bluejeans/bluejeans.info @@ -1,10 +1,10 @@ PRGNAM="bluejeans" -VERSION="2.19.0.61" +VERSION="2.22.0.87" HOMEPAGE="https://www.bluejeans.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://swdl.bluejeans.com/desktop-app/linux/2.19.0/BlueJeans_2.19.0.61.rpm" -MD5SUM_x86_64="8156ea2be61c78584e7bb27a4e8a0ee3" +DOWNLOAD_x86_64="https://swdl.bluejeans.com/desktop-app/linux/2.22.0/BlueJeans_2.22.0.87.rpm" +MD5SUM_x86_64="6518ca795e5517c7e5cd653b7b7d02d2" REQUIRES="" MAINTAINER="Igor Alexandrov" EMAIL="igor.alexandrov@outlook.com" |