# Template file for 'sigrok-firmware-fx2lafw'
pkgname=sigrok-firmware-fx2lafw
version=0.1.4
revision=1
build_style=fetch
noarch=yes
short_desc="Sigrok fx2lafw Firmware files"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2 LGPL-2.1"
homepage="https://sigrok.org/"
distfiles="https://sigrok.org/download/binary/${pkgname}/${pkgname}-bin-${version}.tar.gz"
checksum=e48ae384fdcf3f552b91fb35d1a49fd211cfdadebbdbbb5b31befb8eb0f8a35a

do_install() {
	tar xf ${pkgname}-bin-${version}.tar.gz
	for fw in ${pkgname}-bin-${version}/fx2lafw-*.fw; do
		vinstall "$fw" 0644 /usr/share/sigrok-firmware
	done
}
