aboutsummaryrefslogblamecommitdiffstats
path: root/community/pmbootstrap/APKBUILD
blob: 4fcc12190acb7fb84e2d35994ce26bc1dd1c3329 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
             
        



                                                                                   

                                              















                                                                                                                         
                                                                                                    
 
 
            
                                                                                                                                                           

                                                                                                                                                   
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=pmbootstrap
pkgver=1.33.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-or-later"
depends="python3 coreutils procps openssl git"
makedepends="py3-setuptools"
checkdepends="pytest"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketos/pmbootstrap/-/archive/$pkgver/pmbootstrap-$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="
5bfa1967329e0cae52b261413d5e046955c8b97d164a67ebdfcae34c5648bcca1d4152ae3181788f2e8ff8dd78fb26115f036b21906763802abaf17f19ffc3a4  pmbootstrap-1.33.0.tar.gz
f8026ab32234b885e69252459047f70160c54319113bc449000aa7c05bd016f00a46cee05c8f5251682f967ab44a12c06fbbb3c02d0a57ccb836cff810ce1a40  modules-load.conf
"