git » meson-python.git » main » tree

[main] / PKGBUILD

_pkgname=meson_python
pkgname=meson-python
pkgver=0.15.0
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
depends=(python-pyproject-metadata)
source=(https://files.pythonhosted.org/packages/source/m/meson_python/meson_python-$pkgver.tar.gz
)

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

package() {
	cd "$_pkgname-$pkgver"
	pip3 install --root="$pkgdir" --no-index --find-links=dist --no-cache-dir --no-user $_pkgname
}
sha256sums=('fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f')