network/protonmail-import-export-app: Updated for version 1.2.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erich Ritz 2021-01-08 15:00:31 -07:00 committed by Willy Sudiarto Raharjo
parent 1777722db8
commit 26737ea5d1
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 11 additions and 7 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for protonmail-import-export-app
# Copyright 2020 Erich Ritz
# Copyright 2020-2021 Erich Ritz
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=protonmail-import-export-app
VERSION=${VERSION:-1.2.2}
VERSION=${VERSION:-1.2.3}
DEBVERSION=${DEBVERSION:--1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -54,7 +54,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/${PRGNAM}_${VERSION}${DEBVERSION}_$DEBARCH.deb data.tar.xz | tar xJv
ar p $CWD/${PRGNAM}_${VERSION}${DEBVERSION}_$DEBARCH.deb data.tar.gz | tar xzv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -63,9 +63,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mv $PKG/usr/lib $PKG/usr/lib64
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp $PKG/usr/lib64/protonmail/import-export/{Changelog.md,LICENSE} $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/protonmail/import-export/* $PKG/usr/doc/$PRGNAM-$VERSION/
mv $PKG/usr/share/doc/protonmail-import-export-app/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="protonmail-import-export-app"
VERSION="1.2.2"
VERSION="1.2.3"
HOMEPAGE="https://protonmail.com/import-export"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://protonmail.com/download/ie/protonmail-import-export-app_1.2.2-1_amd64.deb"
MD5SUM_x86_64="9a696eba20c910ce3324ca84a7158a0d"
DOWNLOAD_x86_64="https://protonmail.com/download/ie/protonmail-import-export-app_1.2.3-1_amd64.deb"
MD5SUM_x86_64="ac7bf6f9df4881dfeb8dbbfa3db23030"
REQUIRES=""
MAINTAINER="Erich Ritz"
EMAIL="erich.public@protonmail.com"