diff --git a/srcpkgs/sigrok-firmware-fx2lafw/template b/srcpkgs/sigrok-firmware-fx2lafw/template new file mode 100644 index 0000000000..70cce900a2 --- /dev/null +++ b/srcpkgs/sigrok-firmware-fx2lafw/template @@ -0,0 +1,19 @@ +# 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 " +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 +}