summaryrefslogtreecommitdiff
path: root/system/muon
diff options
context:
space:
mode:
Diffstat (limited to 'system/muon')
-rw-r--r--system/muon/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/system/muon/APKBUILD b/system/muon/APKBUILD
new file mode 100644
index 000000000..6ccf8a24d
--- /dev/null
+++ b/system/muon/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=muon
+pkgver=0.5.0
+pkgrel=0
+pkgdesc="A Meson-compatible build system"
+url="https://muon.build/"
+arch="all"
+license="GPL-3.0-only AND MIT AND Unlicense AND Python-2.0 AND Apache-2.0"
+depends="samurai"
+checkdepends="python3"
+makedepends="curl-dev libarchive-dev pkgconf-dev scdoc"
+subpackages="$pkgname-doc"
+source="https://muon.build/releases/v$pkgver/muon-v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-v$pkgver"
+
+build() {
+ ./bootstrap.sh build
+ build/muon-bootstrap setup \
+ -Dprefix=/usr \
+ build
+ build/muon-bootstrap -C build samu
+}
+
+check() {
+ build/muon-bootstrap -C build test
+}
+
+package() {
+ DESTDIR="$pkgdir" build/muon-bootstrap -C build install
+}
+
+sha512sums="3552e9b3ead9072de5a683cc1448eaab1ebd60a10653a3c8d183ec89b3b56ffce12dac4735be5f5e4ede7795e7d0abeafd3c404648ac1597cbf7d6d55f8d0ed7 muon-v0.5.0.tar.gz"