summaryrefslogtreecommitdiff
path: root/user/nml
diff options
context:
space:
mode:
Diffstat (limited to 'user/nml')
-rw-r--r--user/nml/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/nml/APKBUILD b/user/nml/APKBUILD
new file mode 100644
index 000000000..6b7f9facb
--- /dev/null
+++ b/user/nml/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=nml
+pkgver=0.4.5
+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="http://bundles.openttdcoop.org/nml/releases/$pkgver/nml-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ make -C regression
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="64b2f46a1c2e37fce8f51231094e30334f368b0db39c6a3977a144a798d8034d1abbe7c14af3921eb81f4b7caa193e7e53ccb9e27acd113e0407926b109ca952 nml-0.4.5.tar.gz"