From 2fd0e0cf04a63d1a3c89856b9bce27b2af866132 Mon Sep 17 00:00:00 2001 From: Artur Sinila Date: Wed, 28 Oct 2020 20:15:17 +0300 Subject: [PATCH] New package: avra-1.4.2 --- srcpkgs/avra/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/avra/template 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\\\"" +}