# Contributor: Bart Ribbers # Maintainer: Oliver Smith pkgname=pmbootstrap pkgver=1.8.0 pkgrel=0 pkgdesc="Sophisticated chroot/build/flash tool to develop and install postmarketOS" url="https://gitlab.com/postmarketOS/pmbootstrap" arch="noarch" license="GPL-3.0-or-later" depends="python3 coreutils procps" makedepends="python3" checkdepends="pytest" source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketos/pmbootstrap/-/archive/$pkgver/pmbootstrap-$pkgver.tar.gz" options="!check" # Doesn't like making chroot directories build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="4eacd7b44ab68529e83c80d766a1394460e3740b6db66914c126c3c254d024649d26ca7aaf76c2296917607f70659788e2ab577825438c17d7eae8f547ade869 pmbootstrap-1.8.0.tar.gz"