aboutsummaryrefslogtreecommitdiffstats
path: root/testing/muon/APKBUILD
blob: 81f37ebeba7345d8d74c9c385ece1689b52ba3e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: KikooDX <kikoodx@paranoici.org>
# Maintainer: KikooDX <kikoodx@paranoici.org>
pkgname=muon
pkgver=0_git20210812
pkgrel=0
pkgdesc="meson implementation in C"
url="https://github.com/annacrombie/muon"
arch="all"
license="GPL-3.0-only"
subpackages="$pkgname-doc"
options="!check" # broken test suite
_gitrev=f4ee369d4a90ca597aaf63d99da9355266eba83b
source="$pkgname-$_gitrev.tar.gz::$url/archive/$_gitrev.tar.gz
	fix-bootstrap.patch"
builddir="$srcdir/$pkgname-$_gitrev"

build() {
	./bootstrap.sh bootstrap
	bootstrap/muon setup build
	ninja -C build
}

package() {
	install -Dm711 build/muon "$pkgdir"/usr/bin/muon
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="
34a76775e137687e345426d3d7dd415fafe5f053d1881b8a2f384ebe49046d9b338c210f3eb1544fddd2dd912427a5d75fb2d8a5be269e3b3e9c95cf5e622e38  muon-f4ee369d4a90ca597aaf63d99da9355266eba83b.tar.gz
937d8fffec20b5244d7234738eda5baba8a351bff2a6815ec71c30c08180d63febcb6a2adc9a1bd495481d2384cf04c01ab8aa5abc121b76d344a559e4b65569  fix-bootstrap.patch
"