19 lines
580 B
Bash
19 lines
580 B
Bash
# Template file for 'packer'
|
|
pkgname=packer
|
|
version=1.10.3
|
|
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=4d1730df12aa85abb38d4f96c14a5c92ecf65d4d626e93df6dbb3d6a37d07f88
|
|
replaces="packer-bin>=0"
|
|
repository=nonfree
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) go_ldflags="-linkmode=external";;
|
|
esac
|