summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 03f2f1ee97b..81e13ae8668 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=packer
pkgname=${_pkgname}-git
-pkgver=v1.3.3_999_g5504709e1
+pkgver=v1.3.3_1006_g07dbf8195
pkgrel=1
pkgdesc="Packer is a tool for creating identical machine images for multiple platforms from a single source configuration."
arch=('x86_64')
@@ -22,20 +22,20 @@ pkgver() {
prepare() {
mkdir -p gopath
+ export GOPATH="${srcdir}/gopath"
+ export PATH="$PATH:$GOPATH/bin"
}
build() {
- export GOPATH="${srcdir}/gopath"
export GOFLAGS="-gcflags=all=-trimpath=${PWD} -asmflags=all=-trimpath=${PWD} -ldflags=-extldflags=-zrelro -ldflags=-extldflags=-znow"
cd ${_pkgname}
make dev
-}
-check() {
- export GOPATH="${srcdir}/gopath"
unset GOFLAGS
+}
+check() {
cd ${_pkgname}
make test
}