void-packages/srcpkgs/packer/template
2024-06-01 09:54:57 +02:00

18 lines
580 B
Bash

# Template file for 'packer'
pkgname=packer
version=1.11.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="BUSL-1.1"
homepage="http://www.packer.io"
distfiles="https://github.com/hashicorp/packer/archive/v${version}.tar.gz"
checksum=51ce907a2dc3772e43aacf0297136fbaa10a4ad49db02670c0becc68e165e6e2
replaces="packer-bin>=0"
repository=nonfree
case "$XBPS_TARGET_MACHINE" in
arm*) go_ldflags="-linkmode=external";;
esac