packer-bin: fix same distfile issue

This commit is contained in:
Andrea Brancaleoni 2015-06-12 11:41:26 +02:00
parent d25e4d12ad
commit 9421a6f1b0

View file

@ -1,7 +1,7 @@
# Template file for 'packer-bin'
pkgname=packer-bin
version=0.7.5
revision=1
revision=2
create_wrksrc=yes
only_for_archs="i686 x86_64"
hostmakedepends="unzip"
@ -13,11 +13,11 @@ nocross=yes
case "$XBPS_TARGET_MACHINE" in
x86_64)
distfiles="https://dl.bintray.com/mitchellh/packer/packer_${version}_linux_amd64.zip>${pkgname}-${version}.zip"
distfiles="https://dl.bintray.com/mitchellh/packer/packer_${version}_linux_amd64.zip>${pkgname}-${version}-${XBPS_TARGET_MACHINE}.zip"
checksum="8fab291c8cc988bd0004195677924ab6846aee5800b6c8696d71d33456701ef6"
;;
i686)
distfiles="https://dl.bintray.com/mitchellh/packer/packer_${version}_linux_386.zip>${pkgname}-${version}.zip"
distfiles="https://dl.bintray.com/mitchellh/packer/packer_${version}_linux_386.zip>${pkgname}-${version}-${XBPS_TARGET_MACHINE}.zip"
checksum="6a6ee79d51909f04f734c15a0e12ebcaba3f2cf4d449906f6a186490774262f9"
;;
esac