summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien LEFEBVRE2021-01-11 12:21:29 +0100
committerFabien LEFEBVRE2021-01-11 12:21:29 +0100
commit62a2fd07b9a761f37bddcfc58b3278b9cb05b1de (patch)
tree4b0fe59e3973c073c91db309e40a8e9f05ab290b
parented0242d9f198b24e14fa062839aaaf363b423fab (diff)
downloadaur-62a2fd07b9a761f37bddcfc58b3278b9cb05b1de.tar.gz
upgpkg: dokku 0.22.8-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2c1136c47b2a..cd399d1dbd49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dokku
pkgdesc = Docker-powered PaaS that helps build and manage the lifecycle of applications
pkgver = 0.22.8
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/dokku/dokku
install = dokku.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d2ef4911dcb1..3115f37a2f3a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=dokku
pkgver=0.22.8
-pkgrel=1
+pkgrel=2
pkgdesc='Docker-powered PaaS that helps build and manage the lifecycle of applications'
arch=('any')
url='https://github.com/dokku/dokku'
@@ -32,6 +32,11 @@ sha256sums=('c0bb4f1beb5880824928ad8db27e82114bf086bb291a6a21468ab17e17834300'
install="$pkgname.install"
build() {
+ 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"
export GOPATH="$srcdir/gopath"
cd "$pkgname-$pkgver"