From a5cd096d6d250384475053b0f5dbe81001d5eb22 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 12 Jan 2019 17:44:49 +0000 Subject: user/nml: new package --- user/nml/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 user/nml/APKBUILD (limited to 'user/nml') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2