summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkausban2020-08-06 01:22:10 +0200
committerkausban2020-08-06 01:22:10 +0200
commitc26dc505907087866fd6d5d57e252790bec09cce (patch)
treeff25e2683cffd23f11076e7de54231b6cbfca54c
parentf65ad09e97d50913959176b42d3df386ba686efb (diff)
downloadaur-c26dc505907087866fd6d5d57e252790bec09cce.tar.gz
v1.3.2. Added sed statements to fix versioning in the Makefile
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0936824e43..74eaf3c572d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = protonmail-bridge-nogui
pkgdesc = Integrate ProtonMail paid account with any program that supports IMAP and SMTP
- pkgver = 1.2.8.beta.1
+ pkgver = 1.3.2
pkgrel = 1
url = https://github.com/ProtonMail/proton-bridge
arch = x86_64
@@ -14,9 +14,9 @@ pkgbase = protonmail-bridge-nogui
conflicts = protonmail-bridge
options = !emptydirs
options = !strip
- source = proton-bridge-1.2.8-beta.1.tar.gz::https://github.com/ProtonMail/proton-bridge/archive/v1.2.8-beta.1.tar.gz
+ source = proton-bridge-1.3.2.tar.gz::https://github.com/ProtonMail/proton-bridge/archive/v1.3.2.tar.gz
source = bridge.service
- sha256sums = f565f2d6cf2b3c5e8f4c49cac7c0e3392f49ff0f30d6154346fb36d56f51d3c9
+ sha256sums = fb614a2bc2c2b56f7c47a9e6c46e059cc1deff643f5ba83d8272c29657d00072
sha256sums = 6b2fd1e042b55dc6d0ffe5eb44e82ffd233452b4571ef571132600e7ec0d5d82
pkgname = protonmail-bridge-nogui
diff --git a/PKGBUILD b/PKGBUILD
index f3a01527d9c..d6e0bacb5f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,12 +17,12 @@
pkgname=protonmail-bridge-nogui
-_pkgver=1.2.8
-_rev="beta.1"
-_srcver="$_pkgver"-"$_rev"
+_pkgver=1.3.2
+_rev=""
+_srcver="$_pkgver"
_srcname=proton-bridge-"$_srcver"
-pkgver="$_pkgver"."$_rev"
+pkgver="$_pkgver""$_rev"
pkgrel=1
pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP"
@@ -39,11 +39,13 @@ conflicts=('protonmail-bridge-bin' 'protonmail-bridge')
options=('!emptydirs' '!strip')
source=("$_srcname.tar.gz::https://github.com/ProtonMail/proton-bridge/archive/v"$_srcver".tar.gz"
"bridge.service")
-sha256sums=('f565f2d6cf2b3c5e8f4c49cac7c0e3392f49ff0f30d6154346fb36d56f51d3c9'
+sha256sums=('fb614a2bc2c2b56f7c47a9e6c46e059cc1deff643f5ba83d8272c29657d00072'
'6b2fd1e042b55dc6d0ffe5eb44e82ffd233452b4571ef571132600e7ec0d5d82')
prepare() {
cd "${srcdir}"/"$_srcname"/
+ sed -i "s/BRIDGE_VERSION?=.*/BRIDGE_VERSION?="$_srcver"/" Makefile
+ sed -i "s/REVISION:=.*/REVISION:=git/" Makefile
export PATH=$PATH:$(go env GOPATH)/bin/
make clean
make build-nogui