summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 23d17258d6bfd5b70f53a2d50848c85f40834dac (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.1
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=(python-xmltodict 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
}