mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
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>
This commit is contained in:
parent
2c8ae70635
commit
9768f9015c
3 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue