summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Molaei2020-05-25 15:59:01 +0430
committerAli Molaei2020-05-25 15:59:01 +0430
commit89551b50e5631accfa5825e2dbf16d1b8c70501f (patch)
tree8b14fa56457578d307a6d253e9b9a01b2a6294d1
parent3e4644ac660503d4b66008be2edaf6e61337f106 (diff)
downloadaur-89551b50e5631accfa5825e2dbf16d1b8c70501f.tar.gz
Update to 1.2.7
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD17
-rw-r--r--protonmail-bridge.desktop2
4 files changed, 17 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ad9b4f6c48..877896ecf95 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 = 3
+ pkgver = 1.2.7
+ pkgrel = 1
url = https://www.protonmail.com/bridge
arch = x86_64
license = GPL3
@@ -16,10 +16,10 @@ pkgbase = protonmail-bridge
conflicts = protonmail-bridge-bin
options = !emptydirs
options = !strip
- source = git://github.com/ProtonMail/proton-bridge.git
+ source = https://github.com/ProtonMail/proton-bridge/archive/v1.2.7-live.1.tar.gz
source = protonmail-bridge.desktop
- sha256sums = SKIP
- sha256sums = 38638abfe99372a618a3b6e8939f1e94037203e1499cbd7c93fc6b0b47da0a2e
+ sha256sums = 5a4c19b769cd72097507de6840b79e56d37fa6a54cf7269d4fec28c05016ca45
+ sha256sums = 226bc140ec5c34cfdff42b33058d045446a4006518d2660db932c7f51632b48a
pkgname = protonmail-bridge
diff --git a/.gitignore b/.gitignore
index 25f537c80d0..93f5d9f2777 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,4 @@
pkg/
src/
-*.pkg.tar*
-protonmail-bridge*.deb
-proton-bridge/
+*.tar.gz
+*.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
index 697031226ed..bdf5f469ca7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,9 @@
# Contributor: aimileus <me at aimileus dot nl>
pkgname=protonmail-bridge
-pkgver=1.2.6
-pkgrel=3
+pkgver=1.2.7
+pkgrel=1
+_pkgrel=1
pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP"
arch=('x86_64')
url="https://www.protonmail.com/bridge"
@@ -17,13 +18,13 @@ optdepends=(
)
conflicts=('protonmail-bridge-bin')
options=('!emptydirs' '!strip')
-source=("git://github.com/ProtonMail/proton-bridge.git"
+source=("https://github.com/ProtonMail/proton-bridge/archive/v${pkgver}-live.${_pkgrel}.tar.gz"
"protonmail-bridge.desktop")
-sha256sums=('SKIP'
- '38638abfe99372a618a3b6e8939f1e94037203e1499cbd7c93fc6b0b47da0a2e')
+sha256sums=('5a4c19b769cd72097507de6840b79e56d37fa6a54cf7269d4fec28c05016ca45'
+ '226bc140ec5c34cfdff42b33058d045446a4006518d2660db932c7f51632b48a')
prepare() {
- cd ${srcdir}/proton-bridge/
+ cd ${srcdir}/proton-bridge-${pkgver}-live.${_pkgrel}/
export PATH=$PATH:$(go env GOPATH)/bin/
make clean
make build
@@ -32,9 +33,9 @@ prepare() {
package() {
mkdir -p "${pkgdir}"/opt
mkdir -p "${pkgdir}"/usr/bin
- cp -r "${srcdir}"/proton-bridge/cmd/Desktop-Bridge/deploy/linux/ "${pkgdir}"/opt/protonmail-bridge
+ cp -r "${srcdir}"/proton-bridge-${pkgver}-live.${_pkgrel}/cmd/Desktop-Bridge/deploy/linux/ "${pkgdir}"/opt/protonmail-bridge
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/
- ln -s "/opt/protonmail-bridge/proton-bridge" "$pkgdir/usr/bin/protonmail-bridge"
+ ln -s "/opt/protonmail-bridge/proton-bridge-${pkgver}-live.${_pkgrel}" "$pkgdir/usr/bin/protonmail-bridge"
}
diff --git a/protonmail-bridge.desktop b/protonmail-bridge.desktop
index 9ee165e3da5..de4a6ffc238 100644
--- a/protonmail-bridge.desktop
+++ b/protonmail-bridge.desktop
@@ -5,7 +5,7 @@ Name=ProtonMail Bridge
GenericName=ProtonMail Bridge for Linux
Comment=The Bridge is an application that runs on your computer in the background and seamlessly encrypts and decrypts your mail as it enters and leaves your computer.
Icon=/opt/protonmail-bridge/logo.svg
-Exec=/opt/protonmail-bridge/proton-bridge
+Exec=/usr/bin/protonmail-bridge
Terminal=false
Categories=Office;Email;Network
StartupWMClass=protonmail-bridge