18 lines
549 B
Bash
18 lines
549 B
Bash
# Template file for 'packer'
|
|
pkgname=packer
|
|
version=1.9.4
|
|
revision=2
|
|
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=c07db8375190668571077784f4a650514d6ef879ae45cb4c3c1717ad8308c47e
|
|
replaces="packer-bin>=0"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) go_ldflags="-linkmode=external";;
|
|
esac
|