void-packages/srcpkgs/packer/template
2020-10-08 16:04:14 +02:00

17 lines
549 B
Bash

# Template file for 'packer'
pkgname=packer
version=1.6.4
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=51a5f1e5da48cdd5891c1cff3914679ef0caab36132e274d4b5478087140678c
replaces="packer-bin>=0"
case "$XBPS_TARGET_MACHINE" in
arm*) go_ldflags="-linkmode=external";;
esac