void-packages/srcpkgs/packer-bin/template

31 lines
927 B
Bash
Raw Normal View History

2015-06-12 09:15:02 +00:00
# Template file for 'packer-bin'
pkgname=packer-bin
version=0.7.5
2015-06-12 12:47:42 +00:00
revision=3
2015-06-12 09:15:02 +00:00
create_wrksrc=yes
only_for_archs="i686 x86_64"
hostmakedepends="unzip"
short_desc="Create identical multiplatform machine images from a single source"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="MPL-2"
homepage="http://www.packer.io"
nocross=yes
2015-06-12 12:53:02 +00:00
provides="packer-${version}_${revision}"
2015-06-12 09:15:02 +00:00
case "$XBPS_TARGET_MACHINE" in
x86_64)
2015-06-12 09:41:26 +00:00
distfiles="https://dl.bintray.com/mitchellh/packer/packer_${version}_linux_amd64.zip>${pkgname}-${version}-${XBPS_TARGET_MACHINE}.zip"
2015-06-12 09:15:02 +00:00
checksum="8fab291c8cc988bd0004195677924ab6846aee5800b6c8696d71d33456701ef6"
;;
i686)
2015-06-12 09:41:26 +00:00
distfiles="https://dl.bintray.com/mitchellh/packer/packer_${version}_linux_386.zip>${pkgname}-${version}-${XBPS_TARGET_MACHINE}.zip"
2015-06-12 09:15:02 +00:00
checksum="6a6ee79d51909f04f734c15a0e12ebcaba3f2cf4d449906f6a186490774262f9"
;;
esac
do_install() {
for file in *; do
vbin $file
done
}