summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDasith Gunawardhana2019-05-17 00:18:27 -0700
committerDasith Gunawardhana2019-05-17 00:18:27 -0700
commit0554bcc49f4fc17aa8e9093885f30191619fad6e (patch)
tree84a88bb2241df82f32f374172cf66f80bfd7a7e5
parent2bdaf2460edee38053c8e48a862c89534321ed89 (diff)
downloadaur-0554bcc49f4fc17aa8e9093885f30191619fad6e.tar.gz
remove extra exports
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40847de4e8b..460093182f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,7 +10,7 @@ pkgbase = packer-git
depends = glibc
provides = packer
conflicts = packer
- source = git+https://github.com/hashicorp/packer.git#branch=master
+ source = git+https://github.com/hashicorp/packer.git
sha256sums = SKIP
pkgname = packer-git
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
}