summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 858c8b76fb6414a4058cab4da60d66f35f20441a (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
# Maintainer: Klimenko Maxim Sergievich <klimenkomaximsergievich@gmail.com>

_name="pyboinc"
_pkgbase="${_name}"
pkgbase="${_name}"
pkgname=("${pkgbase}")
pkgver=0.0.2
pkgrel=1
pkgdesc="PyBOINC - a very basic python BOINC bridge"
url="https://github.com/nielstron/pyboinc"
license=('MIT')
arch=(any)
source=("git+https://github.com/nielstron/pyboinc.git")
sha1sums=('SKIP')

makedepends=(git python-build python-installer python-wheel)

build() {
    cd "$_name"
    python -m build --wheel --no-isolation
}

package() {
    cd "$_name"
    python -m installer --destdir="$pkgdir" dist/*.whl
}