diff options
Diffstat (limited to 'network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild')
-rw-r--r-- | network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild b/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild index 485f6ffa3d..50ae0ff1be 100644 --- a/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild +++ b/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for protonmail-import-export-app -# Copyright 2020-2021 Erich Ritz +# Copyright 2020-2021 Erich Ritz, Jenks, Oklahoma, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,20 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=protonmail-import-export-app -VERSION=${VERSION:-1.3.1} +VERSION=${VERSION:-1.3.3} DEBVERSION=${DEBVERSION:--1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# 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 - TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -51,6 +43,11 @@ if [ -z "$ARCH" ]; then esac fi +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + # Upstream only has binary support for x86_64 at present. if [ "$ARCH" = "x86_64" ]; then DEBARCH="amd64" @@ -73,6 +70,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mv $PKG/usr/lib $PKG/usr/lib64 +strip --strip-unneeded $PKG/usr/lib64/protonmail/import-export/proton-ie-launcher rm $PKG/usr/bin/protonmail-import-export-app ln -s /usr/lib64/protonmail/import-export/proton-ie-launcher $PKG/usr/bin/protonmail-import-export-app |