summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
-rwxr-xr-xprotonmail-bridge3
3 files changed, 5 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4ec9c918328..2ad9b4f6c48 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = protonmail-bridge
pkgdesc = Integrate ProtonMail paid account with any program that supports IMAP and SMTP
pkgver = 1.2.6
- pkgrel = 2
+ pkgrel = 3
url = https://www.protonmail.com/bridge
arch = x86_64
license = GPL3
@@ -18,10 +18,8 @@ pkgbase = protonmail-bridge
options = !strip
source = git://github.com/ProtonMail/proton-bridge.git
source = protonmail-bridge.desktop
- source = protonmail-bridge
sha256sums = SKIP
sha256sums = 38638abfe99372a618a3b6e8939f1e94037203e1499cbd7c93fc6b0b47da0a2e
- sha256sums = 0b95101d33653e337e74e866a13b2a6006304a9a157e74ba36fa49b2b68ec826
pkgname = protonmail-bridge
diff --git a/PKGBUILD b/PKGBUILD
index 538f895978e..697031226ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,7 @@
pkgname=protonmail-bridge
pkgver=1.2.6
-pkgrel=2
-_pkgrel=1
+pkgrel=3
pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP"
arch=('x86_64')
url="https://www.protonmail.com/bridge"
@@ -19,11 +18,9 @@ optdepends=(
conflicts=('protonmail-bridge-bin')
options=('!emptydirs' '!strip')
source=("git://github.com/ProtonMail/proton-bridge.git"
- "protonmail-bridge.desktop"
- "protonmail-bridge")
+ "protonmail-bridge.desktop")
sha256sums=('SKIP'
- '38638abfe99372a618a3b6e8939f1e94037203e1499cbd7c93fc6b0b47da0a2e'
- '0b95101d33653e337e74e866a13b2a6006304a9a157e74ba36fa49b2b68ec826')
+ '38638abfe99372a618a3b6e8939f1e94037203e1499cbd7c93fc6b0b47da0a2e')
prepare() {
cd ${srcdir}/proton-bridge/
@@ -39,5 +36,5 @@ package() {
install -D -m644 "${pkgdir}"/opt/protonmail-bridge/LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"/
install -D -m644 "${pkgdir}"/opt/protonmail-bridge/logo.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/"${pkgname}".svg
install -D -m644 "${srcdir}"/protonmail-bridge.desktop -t "${pkgdir}"/usr/share/applications/
- install -D -m755 "${srcdir}"/protonmail-bridge -t "${pkgdir}"/usr/bin/
+ ln -s "/opt/protonmail-bridge/proton-bridge" "$pkgdir/usr/bin/protonmail-bridge"
}
diff --git a/protonmail-bridge b/protonmail-bridge
deleted file mode 100755
index b0a078718c4..00000000000
--- a/protonmail-bridge
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-/opt/protonmail-bridge/proton-bridge