# Contributor: Henrik Riomar # Maintainer: pkgname=xa pkgver=2.3.9 pkgrel=1 pkgdesc="cross-assembler and utility suite for 65xx/65816 processors" url="https://www.floodgap.com/retrotech/xa" arch="all" license="GPL-2.0-only" checkdepends="perl" subpackages="$pkgname-doc" source="https://www.floodgap.com/retrotech/xa/dists/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" make } check() { cd "$builddir" make -j1 test } package() { cd "$builddir" make DESTDIR="$pkgdir/usr" install } sha512sums="9e140192f7daae8b5042a01c81c85f6ec4e53c727fa5af624fbe94a8ce85fbf821a1ee94dc9c11e8087b08a4060010b989f95b77cbcd2b550ab552c3b5455dfe xa-2.3.9.tar.gz"