diff options
Diffstat (limited to 'community/packer/APKBUILD')
-rw-r--r-- | community/packer/APKBUILD | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/community/packer/APKBUILD b/community/packer/APKBUILD deleted file mode 100644 index a7d7f39d627..00000000000 --- a/community/packer/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Galen Abell <galen@galenabell.com> -# Contributor: Galen Abell <galen@galenabell.com> -pkgname=packer -pkgver=1.7.5 -pkgrel=0 -pkgdesc="tool for creating machine images for multiple platforms" -url="https://www.packer.io/" -license="MPL-2.0" -arch="all" -makedepends="go" -options="net chmod-clean" -source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/packer/archive/v$pkgver.tar.gz" - -export GOPATH="$srcdir" - -build() { - export GOFLAGS="$GOFLAGS -trimpath" - export GOLDFLAGS="-s -w -X main.GitCommit=v$pkgver" - go build -v -o bin/$pkgname -} - -check() { - go list . | xargs -t -n4 go test -timeout=2m -parallel=4 - bin/$pkgname -v -} - -package() { - install -Dm755 bin/"$pkgname" -t "$pkgdir"/usr/bin/ -} - -sha512sums=" -2a9695d98de96fca64e6db5c47ad4d713d6e8f4c5e6d7c4ecae8f37a308abe44257b257b6a452cfb90a72bcc0130543e6a7ed139215b49c68f07ddc1215641be packer-1.7.5.tar.gz -" |