summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Molaei2021-05-21 12:17:02 +0430
committerAli Molaei2021-05-21 12:17:02 +0430
commit39f8c96dbf74e856bd5e9dcc363919ff2bcb1db2 (patch)
tree69ac61bc73ebba5dd59bed1ff83ed1a4b2549ba7
parentb45494178766bf4a32cbbb70d772a73d6a1811c9 (diff)
downloadaur-39f8c96dbf74e856bd5e9dcc363919ff2bcb1db2.tar.gz
Update to 1.8.1
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 30e6c220b15..2658007ddba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = protonmail-bridge
pkgdesc = Integrate ProtonMail paid account with any program that supports IMAP and SMTP
- pkgver = 1.6.9
+ pkgver = 1.8.1
pkgrel = 1
url = https://protonmail.com/bridge
arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = protonmail-bridge
conflicts = protonmail-bridge-bin
options = !emptydirs
options = !strip
- source = git://github.com/ProtonMail/proton-bridge.git#tag=br-1.6.9
+ source = git://github.com/ProtonMail/proton-bridge.git#tag=br-1.8.1
source = protonmail-bridge.desktop
sha256sums = SKIP
sha256sums = 226bc140ec5c34cfdff42b33058d045446a4006518d2660db932c7f51632b48a
diff --git a/PKGBUILD b/PKGBUILD
index 45b0447a4ab..79cddcdd5a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: aimileus <me at aimileus dot nl>
pkgname=protonmail-bridge
-pkgver=1.6.9
+pkgver=1.8.1
pkgrel=1
pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP"
arch=('x86_64')
@@ -17,19 +17,27 @@ optdepends=(
)
conflicts=('protonmail-bridge-bin')
options=('!emptydirs' '!strip')
+
# Source to compile to a specific tag
source=("git://github.com/ProtonMail/proton-bridge.git#tag=br-${pkgver}"
"protonmail-bridge.desktop")
+
# Source to compile to a specific commit
#source=("git://github.com/ProtonMail/proton-bridge.git#commit=c0a8877018f59b8796cf40ed98917f7747a1a"
# "protonmail-bridge.desktop")
+
sha256sums=('SKIP'
'226bc140ec5c34cfdff42b33058d045446a4006518d2660db932c7f51632b48a')
prepare() {
cd ${srcdir}/proton-bridge/
- export PATH=$PATH:$(go env GOPATH)/bin/
+ sed -i s/1.8.0+git/1.8.1+git/ Makefile
+ export PATH=$PATH:$(go env GOPATH)/bin/
make clean
+}
+
+build(){
+ cd ${srcdir}/proton-bridge/
make build
}