summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c6ce5157c916eaca0d537f558ce234a3e594c3a (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.6.0
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=('927b8188f94140b16fc07e8916e735cac987fa8f73ed54a656932ae9e581e85f')

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

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