# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname=uasm
pkgver=2.56.2
pkgrel=0
pkgdesc="UASM - Macro Assembler"
url="https://www.terraspace.co.uk/uasm.html"
# loongarch64: to unblock the builder as this aport ftbfs with gcc14
arch="all !loongarch64"
license="custom"
options="!check !spdx" # No tests available, license is the JWasm open source license
source="https://github.com/Terraspace/UASM/archive/v$pkgver/uasm-$pkgver.tar.gz"
builddir="$srcdir/UASM-$pkgver"

build() {
	make -f gccLinux64.mak
}

package() {
	install -Dm0755 GccUnixR/uasm \
	        "$pkgdir"/usr/bin/uasm
	install -Dm0644 License.txt \
	        "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="
1f6c1037909d012f3293985c4e0516f4b61497de23cac6bbb58db735efb512599c0bba5d60d8ce999e6afc57e44484a094bf10f0ee185a51afd826f5541c9337  uasm-2.56.2.tar.gz
"
