diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = agru pkgdesc = Ansible-Galaxy Requirements Updater - a fast ansible-galaxy replacement pkgver = 0.1.2 - pkgrel = 1 + pkgrel = 2 url = https://gitlab.com/etke.cc/int/agru arch = any license = GPL3 @@ -3,7 +3,7 @@ pkgname=agru pkgver=0.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Ansible-Galaxy Requirements Updater - a fast ansible-galaxy replacement" arch=('any') url="https://gitlab.com/etke.cc/int/agru" @@ -14,7 +14,12 @@ source=('vcs-repository::git+https://gitlab.com/etke.cc/int/agru.git#tag=v'$pkgv md5sums=('SKIP') build() { - export GOPATH="$srcdir/go" + export GOPATH="$srcdir/gopath" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" cd "$srcdir/vcs-repository" |