summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Erich Ritz2022-06-15 15:08:31 +0200
committer Willy Sudiarto Raharjo2022-06-18 04:10:05 +0200
commit9768f9015c06fce9cc7442bbf10e2a3bea8d87fe (patch)
treeea034bab32c01be702f206f89c0b031cb457e64f /network
parent2c8ae706350577c975f00cafb79212a9024fa0c7 (diff)
downloadslackbuilds-9768f9015c06fce9cc7442bbf10e2a3bea8d87fe.tar.gz
network/protonmail-import-export-app: Update URLs and fix lints.
Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/protonmail-import-export-app/doinst.sh6
-rw-r--r--network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild6
-rw-r--r--network/protonmail-import-export-app/protonmail-import-export-app.info4
3 files changed, 10 insertions, 6 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 1883edd46e..797cbb754e 100644
--- a/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild
+++ b/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild
@@ -27,13 +27,10 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=protonmail-import-export-app
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
@@ -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
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 b1b91f4c3a..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,9 +1,9 @@
PRGNAM="protonmail-import-export-app"
VERSION="1.3.3"
-HOMEPAGE="https://protonmail.com/import-export"
+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.3.3-1_amd64.deb"
+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"