diff options
author | Dasith Gunawardhana | 2019-05-17 00:18:27 -0700 |
---|---|---|
committer | Dasith Gunawardhana | 2019-05-17 00:18:27 -0700 |
commit | 0554bcc49f4fc17aa8e9093885f30191619fad6e (patch) | |
tree | 84a88bb2241df82f32f374172cf66f80bfd7a7e5 | |
parent | 2bdaf2460edee38053c8e48a862c89534321ed89 (diff) | |
download | aur-0554bcc49f4fc17aa8e9093885f30191619fad6e.tar.gz |
remove extra exports
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 6 insertions, 6 deletions
@@ -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 @@ -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 } |