summaryrefslogtreecommitdiff
path: root/network/protonmail-bridge
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2021-01-09 09:35:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 09:35:15 +0700
commit1777722db8a861145a87f9ca9191fe79be45d784 (patch)
tree8f9bd7ae6f5f41666f8389ed38946cd82bef1ab3 /network/protonmail-bridge
parentfc17acadc34f6d76801a85ac333364fac2f7b8bd (diff)
downloadslackbuilds-1777722db8a861145a87f9ca9191fe79be45d784.tar.gz
network/protonmail-bridge: Updated for version 1.5.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/protonmail-bridge')
-rw-r--r--network/protonmail-bridge/protonmail-bridge.SlackBuild14
-rw-r--r--network/protonmail-bridge/protonmail-bridge.info6
2 files changed, 13 insertions, 7 deletions
diff --git a/network/protonmail-bridge/protonmail-bridge.SlackBuild b/network/protonmail-bridge/protonmail-bridge.SlackBuild
index b49a286a58..d441debeb1 100644
--- a/network/protonmail-bridge/protonmail-bridge.SlackBuild
+++ b/network/protonmail-bridge/protonmail-bridge.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for protonmail-bridge
-# Copyright 2018-2020 Erich Ritz
+# Copyright 2018-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-bridge
-VERSION=${VERSION:-1.5.2}
+VERSION=${VERSION:-1.5.4}
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 \
@@ -62,8 +62,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mv $PKG/usr/lib $PKG/usr/lib64
+rm $PKG/usr/bin/protonmail-bridge
+ln -s /usr/lib64/protonmail/bridge/protonmail-bridge $PKG/usr/bin/protonmail-bridge
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $PKG/usr/lib/protonmail/bridge/{Changelog.md,LICENSE} $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/protonmail/bridge/* $PKG/usr/doc/$PRGNAM-$VERSION/
+mv $PKG/usr/share/doc/protonmail-bridge/* $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-bridge/protonmail-bridge.info b/network/protonmail-bridge/protonmail-bridge.info
index 2869648498..eb937271d0 100644
--- a/network/protonmail-bridge/protonmail-bridge.info
+++ b/network/protonmail-bridge/protonmail-bridge.info
@@ -1,10 +1,10 @@
PRGNAM="protonmail-bridge"
-VERSION="1.5.2"
+VERSION="1.5.4"
HOMEPAGE="https://protonmail.com/bridge/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://protonmail.com/download/protonmail-bridge_1.5.2-1_amd64.deb"
-MD5SUM_x86_64="ef21c2daddb1a82b88497ef65c5ba83b"
+DOWNLOAD_x86_64="https://protonmail.com/download/protonmail-bridge_1.5.4-1_amd64.deb"
+MD5SUM_x86_64="25d27eb52eaa3de0edda88fbf25ce1c2"
REQUIRES=""
MAINTAINER="Erich Ritz"
EMAIL="erich.public@protonmail.com"