pmaports/main/pmbootstrap/APKBUILD
Oliver Smith e91b7e780e
main/pmbootstrap: update to 1.6.0
First release with crossdirect support, meaning crossdirect is stable
now!
2019-04-24 16:10:54 +02:00

30 lines
931 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=pmbootstrap
pkgver=1.6.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"
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="7f650c8d9e8a86c2c9b09d32f53e9ef9640a7182b6c3038231e50a89279a563fbf552c591b20142be8cb148572610591721c19a5f95bab7ccc26f8c465c6b88d pmbootstrap-1.6.0.tar.gz"