summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Molaei2021-01-01 12:57:59 +0330
committerAli Molaei2021-01-01 12:57:59 +0330
commit8001fa0058c6ef8ae9b867d5fafc8b52d7cb42e7 (patch)
treed138eedc9d95e452a8ba17e51cabc6fd75aa0c8c
parentb2bc526a241aec4e2483c533095a131d26046be8 (diff)
downloadaur-8001fa0058c6ef8ae9b867d5fafc8b52d7cb42e7.tar.gz
Add GOPATH/bin to PATH
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d119bf735a1..7fbe6b728ae 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.5.4
- pkgrel = 2
+ pkgrel = 3
url = https://protonmail.com/bridge
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index fc09bf38fc1..8cbdf1ab0ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=protonmail-bridge
pkgver=1.5.4
-pkgrel=2
+pkgrel=3
pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP"
arch=('x86_64')
url="https://protonmail.com/bridge"
@@ -28,6 +28,7 @@ prepare() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
+ export PATH=$PATH:$(go env GOPATH)/bin/
git checkout "v${pkgver}"
# fix versioning in source
# sed -i s/1.4.0-git/1.4.5-git/g Makefile