summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6885b49ae6a9ead6d6a0c4b2fd24173c780865a8 (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: Bernardo Kuri <aur+python-axidraw-api@bkuri.com>
# Contributor: Arch Linux Community <arch-dev-public@archlinux.org>

arch=('any')
depends=(python-build python-installer python-wheel)
license=('MIT')
makedepends=(python)
pkgdesc='AxiDraw Python API unofficial installer'
pkgname=python-axidraw-api
pkgrel=2
pkgver=394
sha256sums=('b4f52caca5e88e3129518db2853c0974410996b999f1a831c12266f8bee34141')
url='https://axidraw.com/doc/py_api'

_id="AxiDraw_API_$pkgver"
source=("$_id.zip::https://cdn.evilmadscientist.com/dl/ad/public/${_id%_$pkgver}.zip")

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

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