diff options
-rw-r--r-- | network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild | 12 | ||||
-rw-r--r-- | network/protonmail-import-export-app/protonmail-import-export-app.info | 6 |
2 files changed, 11 insertions, 7 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 e8a29cd04b7a8..757ee6a2df9bf 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 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 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 f73410130c2d8..74ad3dd6291e0 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.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" |