summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Molaei2021-01-01 12:55:53 +0330
committerAli Molaei2021-01-01 12:55:53 +0330
commitb2bc526a241aec4e2483c533095a131d26046be8 (patch)
treee66b489fd8133639998cd15a5d30dfd9f83121d3
parent2fc81e685a9cb2662c95e4b5b8241cb905c41e0b (diff)
downloadaur-b2bc526a241aec4e2483c533095a131d26046be8.tar.gz
Update optional deps description, Add some env variables due to https://wiki.archlinux.org/index.php/Go_package_guidelines
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ce9342e2a3..d119bf735a1 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 = 1
+ pkgrel = 2
url = https://protonmail.com/bridge
arch = x86_64
license = GPL3
@@ -12,8 +12,8 @@ pkgbase = protonmail-bridge
depends = libsecret
depends = qt5-multimedia
depends = ttf-dejavu
- optdepends = gnome-keyring: supported password manager (password manager is required)
- optdepends = pass: supported password manager (password manager is required)
+ optdepends = gnome-keyring: gnome-keyring support
+ optdepends = pass: pass support
conflicts = protonmail-bridge-bin
options = !emptydirs
options = !strip
diff --git a/PKGBUILD b/PKGBUILD
index 85177c63be8..fc09bf38fc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=protonmail-bridge
pkgver=1.5.4
-pkgrel=1
+pkgrel=2
pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP"
arch=('x86_64')
url="https://protonmail.com/bridge"
@@ -12,8 +12,8 @@ license=('GPL3')
makedepends=('go' 'gcc' 'git')
depends=('hicolor-icon-theme' 'libsecret' 'qt5-multimedia' 'ttf-dejavu')
optdepends=(
- 'gnome-keyring: supported password manager (password manager is required)'
- 'pass: supported password manager (password manager is required)'
+ 'gnome-keyring: gnome-keyring support'
+ 'pass: pass support'
)
conflicts=('protonmail-bridge-bin')
options=('!emptydirs' '!strip')
@@ -24,8 +24,11 @@ sha256sums=('SKIP'
prepare() {
cd ${srcdir}/proton-bridge/
- export PATH=$PATH:$(go env GOPATH)/bin/
- git checkout "br-${pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ git checkout "v${pkgver}"
# fix versioning in source
# sed -i s/1.4.0-git/1.4.5-git/g Makefile
make clean