packer: move to nonfree

This commit is contained in:
Đoàn Trần Công Danh 2024-01-22 11:15:44 +07:00
parent cedda1bf13
commit 8bd45387c4

View File

@ -1,16 +1,17 @@
# Template file for 'packer'
pkgname=packer
version=1.10.0
revision=1
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"
license="BUSL-1.1"
homepage="http://www.packer.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
distfiles="https://github.com/hashicorp/packer/archive/v${version}.tar.gz"
checksum=d4f8c8741786c675b01a3be14dc24fb60baf69991908b1c4644277dae47cf946
replaces="packer-bin>=0"
repository=nonfree
case "$XBPS_TARGET_MACHINE" in
arm*) go_ldflags="-linkmode=external";;