git » meson.git » main » tree

[main] / PKGBUILD

pkgname=meson
pkgver=1.3.2
pkgrel=2
arch=('armv7h' 'aarch64')
depends=(python)
license=('unknown')
source=("$pkgname-$pkgver.tar.gz"
	"arch-meson")

build() {
	cd "$pkgname-$pkgver"
	pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
}


package() {
	cd "$pkgname-$pkgver"
	pip3 install --root="$pkgdir" --no-index --find-links dist meson

	install -D ../arch-meson -t "$pkgdir/usr/bin"
}
sha256sums=('492eb450c8b073024276f916f5adbb3c4bb7e90e9e6ec124efda064f3d9b5baa'
            '72c475591db6957483ab64c41ff9f0acc3d036062a7a6619242e543342f1e122')