Uses github.com/hashicorp/packer instead of github.com/mitchellh/packer, since that's the wrong repository to package from. Removes template functions since they're not required. git is no longer required. Some template lines rearranged to satisfy xlint. Closes: #6520 [via git-merge-pr]
17 lines
616 B
Bash
17 lines
616 B
Bash
# Template file for 'packer'
|
|
pkgname=packer
|
|
version=1.3.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="MPL-2"
|
|
homepage="http://www.packer.io"
|
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
|
checksum=c2866669a291822b3957a95fae9aa869270931d1501ea7a0979ac62580ef970f
|
|
replaces="packer-bin>=0"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|arm*) broken="https://build.voidlinux.eu/builders/i686_builder/builds/9375/steps/shell_3/logs/stdio";;
|
|
esac
|