# Contributor: Bryce Vandegrift <bryce@brycevandegrift.xyz>
# Maintainer: Bryce Vandegrift <bryce@brycevandegrift.xyz>
pkgname=avra
pkgver=1.4.2
pkgrel=0
pkgdesc="Assembler for the Atmel AVR microcontroller family"
url="https://github.com/Ro5bert/avra"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/hsoft/avra/archive/$pkgver.tar.gz"

build() {
	make PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="
f51a43b1b28102d6180ce27e74b50642de8f3d18fa35a82904fddaac993e87e1096667f2245bebfad92e4ba3283330f6ac4b6083e486be5af9edca7b7e90e56f  avra-1.4.2.tar.gz
"
