diff options
Diffstat (limited to 'network/protonmail-import-export-app')
3 files changed, 25 insertions, 11 deletions
diff --git a/network/protonmail-import-export-app/doinst.sh b/network/protonmail-import-export-app/doinst.sh index 5fb28930db..65c7e2eeb9 100644 --- a/network/protonmail-import-export-app/doinst.sh +++ b/network/protonmail-import-export-app/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi 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 757ee6a2df..50ae0ff1be 100644 --- a/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild +++ b/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,13 +22,15 @@ # 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=protonmail-import-export-app -VERSION=${VERSION:-1.2.3} +VERSION=${VERSION:-1.3.3} DEBVERSION=${DEBVERSION:--1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -41,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" @@ -63,8 +70,9 @@ 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/protonmail-import-export-app $PKG/usr/bin/protonmail-import-export-app +ln -s /usr/lib64/protonmail/import-export/proton-ie-launcher $PKG/usr/bin/protonmail-import-export-app mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/doc/protonmail/import-export/* $PKG/usr/doc/$PRGNAM-$VERSION/ @@ -77,4 +85,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/protonmail-import-export-app/protonmail-import-export-app.info b/network/protonmail-import-export-app/protonmail-import-export-app.info index 74ad3dd629..69a8c69be1 100644 --- a/network/protonmail-import-export-app/protonmail-import-export-app.info +++ b/network/protonmail-import-export-app/protonmail-import-export-app.info @@ -1,10 +1,10 @@ PRGNAM="protonmail-import-export-app" -VERSION="1.2.3" -HOMEPAGE="https://protonmail.com/import-export" +VERSION="1.3.3" +HOMEPAGE="https://proton.me/support/import-emails-import-export-app" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://protonmail.com/download/ie/protonmail-import-export-app_1.2.3-1_amd64.deb" -MD5SUM_x86_64="ac7bf6f9df4881dfeb8dbbfa3db23030" +DOWNLOAD_x86_64="https://proton.me/download/ie/protonmail-import-export-app_1.3.3-1_amd64.deb" +MD5SUM_x86_64="0963ded165d36e4a289f9ba3fa0a613a" REQUIRES="" MAINTAINER="Erich Ritz" EMAIL="erich.public@protonmail.com" |