diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-12 17:44:49 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-12 17:44:49 +0000 |
commit | a5cd096d6d250384475053b0f5dbe81001d5eb22 (patch) | |
tree | cf95168f563f25f8af9fd0d76b837d2781ba747a | |
parent | a1bb94d02516a2aec2009e08e0176bae924823d1 (diff) | |
download | packages-a5cd096d6d250384475053b0f5dbe81001d5eb22.tar.gz packages-a5cd096d6d250384475053b0f5dbe81001d5eb22.tar.bz2 packages-a5cd096d6d250384475053b0f5dbe81001d5eb22.tar.xz packages-a5cd096d6d250384475053b0f5dbe81001d5eb22.zip |
user/nml: new package
-rw-r--r-- | user/nml/APKBUILD | 30 |
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" |