30 lines
931 B
Text
30 lines
931 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=pmbootstrap
|
|
pkgver=1.5.1
|
|
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 coreutils procps"
|
|
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="c788ab9ec5cec44ce628c949f21b7b26e9395ff98f632f4bcfe65ad0e1afde826c7badedac5a8f4236fbe6a70a49f3e56714eccdd9e9025c1d87112d7834d857 pmbootstrap-1.5.1.tar.gz"
|