aboutsummaryrefslogtreecommitdiffstats
path: root/main/meson/APKBUILD
blob: d0c2ee02d1ac34106a0e6abe6e8f42cf93307d3b (plain)
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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=meson
pkgver=0.47.0
pkgrel=0
pkgdesc="Fast and user friendly build system"
url="http://mesonbuild.com"
arch="noarch"
license="Apache-2.0"
depends="ninja python3"
makedepends="python3-dev"
subpackages="$pkgname-doc"
source="https://github.com/mesonbuild/meson/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"