summaryrefslogtreecommitdiff
path: root/testing/uasm/APKBUILD
blob: 84d3a7a4aaf854e2543e8d46ffddb0b654a8d181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname="uasm"
pkgver="2.50.0"
pkgrel=1
pkgdesc="UASM - Macro Assembler"
url="https://www.terraspace.co.uk/uasm.html"
arch="all"
license="custom"
options="!check !spdx" # No tests available, license is the JWasm open source license
_commitish="16a853bd6de807fe2c42569f8375a029684c0f22" # UASM doesn't tag, but branch per version
source="
	${pkgname}-${pkgver}.zip::https://github.com/Terraspace/UASM/archive/${_commitish}.zip
	0001-Allow-multiple-symbol-definitions.patch
"
builddir="${srcdir}/UASM-${_commitish}/"

build() {
	make ${JOBS:+-j ${JOBS}} -f "gccLinux64.mak"
}

package() {
	install -D -m 0755 "${builddir}/GccUnixR/uasm" \
	        "${pkgdir}/usr/bin/uasm"
	install -D -m 0755 "${builddir}/License.txt" \
	        "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

sha512sums="63ceff7cf1947f4bdef3063e660e17de3f5df43fefcdfa92061d7f1cbfc3c2f441c6fad06665b5ac288b39ebe54526aaa5dfe77d9e49ec68bb5bcad5e66140a1  uasm-2.50.0.zip
f276855ee446a66115b3a8e0a12f920ca7dd741862fcf6ef8fd21f3c5874a3be6545404368ad340d872b433c391f69d9e45bc3d92adf4584a2b192f1b890df0e  0001-Allow-multiple-symbol-definitions.patch"