2018-09-22 09:36:36 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
2019-09-07 20:51:03 +00:00
|
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
2018-09-22 09:36:36 +00:00
|
|
|
pkgname=pmbootstrap
|
2019-09-26 21:13:53 +00:00
|
|
|
pkgver=1.8.2
|
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"
|
2019-09-07 20:51:03 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2019-02-28 08:40:39 +00:00
|
|
|
depends="python3 coreutils procps"
|
2019-09-07 20:51:03 +00:00
|
|
|
makedepends="python3"
|
2018-09-22 09:36:36 +00:00
|
|
|
checkdepends="pytest"
|
2019-09-07 20:51:03 +00:00
|
|
|
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-09-26 21:13:53 +00:00
|
|
|
sha512sums="89b6b0c6904826af99b9db7f4525a28e4034d61f93e7a8a587e4d6360716d820e798b187b1c1784407d469f7dadf639e2f64f9fc3a9e12877394da320c2ebf45 pmbootstrap-1.8.2.tar.gz"
|