# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=meson
pkgver=0.59.0
pkgrel=0
pkgdesc="Fast, user-friendly build system"
url="https://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() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="a620f4dd192bd31da867d3deb162592425c0bdb4a6169d43f81ba8d3c10296d746e739c294a7908a350c383a90beedef03f3c75b549bddc67c0ee7093fa27d92  meson-0.59.0.tar.gz"