summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/meson/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/meson/APKBUILD b/user/meson/APKBUILD
new file mode 100644
index 000000000..86a2fdf48
--- /dev/null
+++ b/user/meson/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=meson
+pkgver=0.47.0
+pkgrel=0
+pkgdesc="Fast, user-friendly build system"
+url="http://mesonbuild.com/"
+arch="noarch"
+license="Apache-2.0"
+depends="python3 ninja"
+makedepends="python3-dev"
+subpackages="$pkgname-doc"
+source="https://github.com/mesonbuild/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="844047ad184f60395c4b6dc61b8fb0f321722d19a8647b48cb3f05fda9ba57516bdcc2244d5bc9de74f2834d092235553faccde6172edaeb3c2d14ff633bc513 meson-0.47.0.tar.gz"