pmaports/main/pmbootstrap/APKBUILD

28 lines
903 B
Text
Raw Normal View History

2018-09-22 09:36:36 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
2018-09-22 09:36:36 +00:00
pkgname=pmbootstrap
2019-11-21 23:17:08 +00:00
pkgver=1.11.0
2019-09-16 20:32:07 +00:00
pkgrel=0
2018-09-22 09:36:36 +00:00
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"
2019-02-28 08:40:39 +00:00
depends="python3 coreutils procps"
makedepends="python3"
2018-09-22 09:36:36 +00:00
checkdepends="pytest"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketos/pmbootstrap/-/archive/$pkgver/pmbootstrap-$pkgver.tar.gz"
2018-09-22 09:36:36 +00:00
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"
}
2019-11-21 23:17:08 +00:00
sha512sums="9d914fc7b2968504790434d49f4426e8f408a3f68c31b561a2a930233e8dd66c9a439cfee07b8c92c00a06cfceb95f80157dc6c3e2efeef2692a9b0bd5342976 pmbootstrap-1.11.0.tar.gz"