diff --git a/srcpkgs/avra/template b/srcpkgs/avra/template new file mode 100644 index 00000000000..e8241a1dc25 --- /dev/null +++ b/srcpkgs/avra/template @@ -0,0 +1,15 @@ +# Template file for 'avra' +pkgname=avra +version=1.4.2 +revision=1 +build_style=gnu-makefile +short_desc="Assembler for the Atmel AVR microcontroller family" +maintainer="Artur Sinila " +license="GPL-2.0-or-later" +homepage="https://github.com/Ro5bert/avra" +distfiles="https://github.com/Ro5bert/${pkgname}/archive/${version}.tar.gz" +checksum=cc56837be973d1a102dc6936a0b7235a1d716c0f7cd053bf77e0620577cff986 + +pre_build() { + CFLAGS="-DVERSION=\\\"$version\\\"" +}