blob: 55a9ab0cdcaa0fbd5ff6a40bd7773eca87260fcc (
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
|
# Maintainer: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
_name=livekit-plugins-deepgram
pkgname=python-${_name}
pkgver=0.6.17
pkgrel=2
pkgdesc="Agent Framework plugin for speech-to-text with DeepGram's API."
arch=('x86_64' 'aarch64')
url='https://github.com/livekit/agents/tree/main/livekit-plugins/livekit-plugins-deepgram'
license=('Apache-2.0')
source=("https://files.pythonhosted.org/packages/source/l/${_name}/${_name//-/_}-${pkgver}.tar.gz")
sha256sums=('8d78abd5dd5c6ce0144d2fe9fcaf4ddc49e082e13aed1e76aeceb8be142234c7')
depends=('python>=3.9' 'python-livekit-agents' 'python-numpy')
makedepends=('python-setuptools' 'python-wheel')
build() {
cd "${srcdir}"/${_name//-/_}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}"/${_name//-/_}-$pkgver
python setup.py install --root="${pkgdir}" --optimize=1
}
|