blob: 3d94d6dcac63a34837049eb1ddf1cd981defb6e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=pmbootstrap
pkgver=1.50.1
pkgrel=0
pkgdesc="Sophisticated chroot/build/flash tool to develop and install postmarketOS"
url="https://sr.ht/~postmarketos/pmbootstrap/"
arch="noarch"
license="GPL-3.0-or-later"
depends="
git
openssl
python3
"
makedepends="py3-setuptools"
checkdepends="pytest"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~postmarketos/pmbootstrap/archive/$pkgver.tar.gz
modules-load.conf
"
install="$pkgname.post-install"
options="!check" # Tests require chroot etc.
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 "$srcdir"/modules-load.conf "$pkgdir"/usr/lib/modules-load.d/pmbootstrap.conf
}
sha512sums="
ac33cfcd3f99e7289023879a1f6f967f13b14ef81b2fca092ff49d39f08e5cf385cc51ae2edac8c4cc919ad8c435a3f2c491a720450c86bf78e014f7bfd0ea7a pmbootstrap-1.50.1.tar.gz
f8026ab32234b885e69252459047f70160c54319113bc449000aa7c05bd016f00a46cee05c8f5251682f967ab44a12c06fbbb3c02d0a57ccb836cff810ce1a40 modules-load.conf
"
|