summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Muehlhaeuser2019-05-31 23:04:38 +0200
committerChristian Muehlhaeuser2019-05-31 23:04:38 +0200
commit7f44e22d9e07558270fa06b94e913ab8b8b1c228 (patch)
tree9cfc1043468a0f42467535e10bbdd6e10d0f642b
parentfafee74e4ca494eac5c7c2651f7950c83722045a (diff)
downloadaur-7f44e22d9e07558270fa06b94e913ab8b8b1c228.tar.gz
Export gcflags & asmflags as suggested on ArchWiki
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 852b559ff286..52ed58241f6f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = beehive
pkgdesc = A flexible event and agent system with lots of bees
pkgver = 0.3.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/muesli/beehive
install = beehive.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 566b5f51c13d..f3aae68d81ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=beehive
pkgver=0.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="A flexible event and agent system with lots of bees"
arch=('x86_64' 'i686')
url="https://github.com/muesli/beehive"
@@ -24,6 +24,8 @@ build() {
mkdir -p "$GOPATH"/bin
cd "$srcdir"/$pkgname-$pkgver
+
+ export GOFLAGS="-gcflags=all=-trimpath=${PWD} -asmflags=all=-trimpath=${PWD}"
make
}