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 3da8dfb8c7f..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.6 -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=" -1c92e462995694c0466cf99259cce6546a5726f60f9d82691e607ad27cf3098e1d45acc8d9292b5e061e76cbaead408f5b4393512292967a0512887267b4bbaa packer-1.7.6.tar.gz -" |