blob: 4a7d4859729fb7556f50e009c4a2d046e77b18e2 (
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-minimal
pkgname=python-${_name}
pkgver=0.2.2
pkgrel=1
pkgdesc='This is a minimal example of a LiveKit plugin for Agents.'
arch=('x86_64' 'aarch64')
url='https://github.com/livekit/agents/tree/main/livekit-plugins/livekit-plugins-minimal'
license=('Apache-2.0')
source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name//-/_}-${pkgver}.tar.gz")
sha256sums=('6bf46b7aead152aec960a158d3f934092a21a32100828841dce07844aff447ea')
depends=('python>=3.9' 'python-livekit-agents')
makedepends=('python-setuptools' 'python-build' 'python-installer' '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
}
|