summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 85d0681a3ec4aec194ecee8baae278fbfbb9bf09 (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
# Maintainer: Sam Whited <sam@samwhited.com>

pkgname="python-accesskit"
pkgver=0.6.0
pkgrel=1
pkgdesc="AccessKit bindings for Python."
arch=('any')
url='https://accesskit.dev/'
license=('Apache-2.0' 'MIT')
depends=(
    'python')
makedepends=(
  'rust'
  'python-maturin')
source=("$pkgname-$pkgver.tar.gz::https://github.com/AccessKit/accesskit-python/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('f76cf837396079081511ee61e6c637ed12bee3b72ff395ddc0e2b7a46fc9d4d1')

build() {
  cd accesskit-python-$pkgver
  python -m build --wheel --no-isolation
}

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

# vim:set ts=2 sw=2 et: