vboot-utils: fix http download

the http download gave different shasums.
This commit is contained in:
Enno Boland 2015-07-21 18:49:41 +02:00
parent 11d2ebd8c7
commit 6936e3de73

View file

@ -1,18 +1,21 @@
# Template file for 'vboot-utils'
pkgname=vboot-utils
version=45.7262
_githash=0e8c964915fffb58032bb59bdb31949de718ca90
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
hostmakedepends="pkg-config git"
makedepends="libressl-devel libuuid-devel liblzma-devel libyaml-devel"
short_desc="Verified boot kernel utilities"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD"
homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
distfiles="$homepage/+archive/refs/heads/release-R${version//./-}.B.tar.gz"
checksum=a4192cc71686ee453e7d82ed1e3802d66a4257f0c8253922ab368fd910071e60
CFLAGS=-D_GNU_SOURCE
create_wrksrc=yes
do_fetch() {
git clone https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git $pkgname-$version || true
cd $pkgname-$version
git checkout $_githash
}
do_build() {
local _arch=