summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e89f9ae0ada390228c928c72bc5c9b028b3c088 (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
# Maintainer: gilcu3

pkgname=python-openwakeword
_pkgname=openWakeWord
pkgdesc="OpenWakeWord"
pkgver=0.5.1
pkgrel=1
arch=(any)
url="https://github.com/dscripka/openWakeWord"
license=('MIT')
depends=(python python-wyoming python-onnxruntime python-tflite-runtime)
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')

source=(https://github.com/dscripka/$_pkgname/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('0c83fe69411e811d1fb376acdabbb8777a34a7b8f9fdcc7987ab488c01787f87')

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

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