blob: 868801772676522e8cc8075de49ce949b4ba178e (
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
29
30
31
32
33
34
35
36
|
# Maintainer: Butui Hu <hot123tea123@gmail.com>
_pkgname=pylibsrtp
pkgname=python-pylibsrtp
pkgver=0.10.0
pkgrel=2
pkgdesc='Python bindings for libsrtp'
arch=('x86_64')
url='https://github.com/aiortc/pylibsrtp'
license=('BSD-3-Clause')
depends=(
glibc
libsrtp
python-cffi
)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/aiortc/pylibsrtp/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('283f6b80f18ed680d2f81ddf0f9a946e2da75c746ee65cbdccf26c8a6bf275714e59ec7bc2afdf619d455bc5ed0e037f683ec851e3b9777331e7c0725ec272a6')
build() {
cd "${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:
|