void-packages/srcpkgs/packer/template
2021-02-20 21:56:06 +00:00

18 lines
549 B
Bash

# Template file for 'packer'
pkgname=packer
version=1.7.0
revision=1
build_style=go
go_import_path="github.com/hashicorp/packer"
short_desc="Create identical multiplatform machine images from a single source"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MPL-2.0"
homepage="http://www.packer.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=9235d5938a055a647b01041c3509b525e038e5bab76147155fcd3fd256f2bafe
replaces="packer-bin>=0"
case "$XBPS_TARGET_MACHINE" in
arm*) go_ldflags="-linkmode=external";;
esac