27 lines
903 B
Text
27 lines
903 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
pkgname=pmbootstrap
|
|
pkgver=1.10.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="805fe1f7ef72ad04b206f5af56ee2fead9d6fb14b4dd509a0c408f9a6e3c8a63cf219cf813a191a9c1f822b04d0585d16325f24369a724766b7dca72d025ef8b pmbootstrap-1.10.0.tar.gz"
|