# Contributor: Bart Ribbers # Maintainer: Oliver Smith pkgname=pmbootstrap pkgver=2.0.0 pkgrel=0 pkgdesc="Sophisticated chroot/build/flash tool to develop and install postmarketOS" url="https://sr.ht/~postmarketos/pmbootstrap/" arch="noarch" license="GPL-3.0-or-later" depends=" git openssl python3 " makedepends="py3-setuptools" checkdepends="pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~postmarketos/pmbootstrap/archive/$pkgver.tar.gz modules-load.conf " install="$pkgname.post-install" options="!check" # Tests require chroot etc. build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" install -Dm644 "$srcdir"/modules-load.conf "$pkgdir"/usr/lib/modules-load.d/pmbootstrap.conf } sha512sums=" 4caf2ca08c6f45de3490c27fa5f5c71049b28af2afa7b90aee83e13cb9cb3cc8009f0c7725e86bbd02d676c78f3c38ec19812397ad0a82f067b4e5bd4d47d695 pmbootstrap-2.0.0.tar.gz f8026ab32234b885e69252459047f70160c54319113bc449000aa7c05bd016f00a46cee05c8f5251682f967ab44a12c06fbbb3c02d0a57ccb836cff810ce1a40 modules-load.conf "