summaryrefslogtreecommitdiff
path: root/user/nml/APKBUILD
blob: 8cc91663bf2dcf16102615a75e4baf92e30983c7 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=nml
pkgver=0.6.1
pkgrel=0
pkgdesc="NewGRF Meta Language utilities for OpenTTD mods"
url="https://newgrf-specs.tt-wiki.net/wiki/NML:Main"
arch="all"
license="GPL-2.0+"
depends="python3 py3-pillow py3-ply"
makedepends="python3-dev"
subpackages=""
source="https://github.com/OpenTTD/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	make -C regression
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="41b1f1c256543ef42067ef3bb81dbb10771498f3dc06e6ce1b328723710380b2a6dad52b2258716b6caab3e4f17d22d57992c76e0800440b9daff5811304e016  nml-0.6.1.tar.gz"