blob: 81a5390bacb25df7b4a61f83611686052e453e56 (
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
|
# Contributor: katt <magunasu.b97@gmail.com>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=pmbootstrap-git
pkgver=3.0.0.r0.g79c6e4c
pkgrel=2
pkgdesc='Sophisticated chroot/build/flash tool to develop and install postmarketOS (git)'
arch=(any)
url=https://postmarketos.org
license=(GPL-3.0-only)
depends=(python python-argcomplete multipath-tools util-linux)
makedepends=(python-build python-installer python-setuptools python-wheel git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git)
md5sums=(SKIP)
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname%-git}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname%-git}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|