# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=pmbootstrap pkgver=1.0.2 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" depends="python3" makedepends="python3-dev" checkdepends="pytest" source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketos/pmbootstrap/-/archive/$pkgver/$pkgname-$pkgver.tar.gz" options="!check" # Doesn't like making chroot directories build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py test } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="168662f66b5ce0867a6392988772dd34a9feb83faeec49af2b39fd224193d84aaab6c3150135af2d797e63608300cc186816148c6d571dd364cd9a8caaadf241 pmbootstrap-1.0.2.tar.gz"