summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsic4t2022-03-02 09:43:07 +0100
committerpsic4t2022-03-02 09:43:07 +0100
commita0fb3e1800c044801fee227d4fca5d06bb8f3b0a (patch)
tree153bea797acd05cda74be3772be8be8591015c39
parentf6d742568aee5d22a232de2ceb2a74caabadab47 (diff)
downloadaur-a0fb3e1800c044801fee227d4fca5d06bb8f3b0a.tar.gz
update PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f2fa3b1420b..9acd47718f3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
pkgbase = qcal
pkgdesc = Console-based quick calendar for CalDAV
pkgver = 0.8.4
- pkgrel = 1
+ pkgrel = 2
url = https://git.sr.ht/~psic4t/qcal
- arch = any
+ arch = x86_64
license = GPL
makedepends = go
source = qcal-0.8.4.tar.gz::https://git.sr.ht/~psic4t/qcal/archive/0.8.4.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index dc6685ab1705..997a42636dbd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
pkgname=qcal
pkgver=0.8.4
-pkgrel=1
+pkgrel=2
pkgdesc='Console-based quick calendar for CalDAV'
-arch=('any')
+arch=('x86_64')
url='https://git.sr.ht/~psic4t/qcal'
license=('GPL')
makedepends=('go')
@@ -13,6 +13,11 @@ sha512sums=('4084af17690a6f3f52329c74f2d8bfb187fa8a749c390f117256b03d2263acb0850
build() {
cd ${pkgname}-${pkgver}
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath"
make
}