blob: 48a225db09976e2a43ff5280f3cb837b0b86c008 (
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.11.0
pkgrel=1
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=('73e8fe83d1fd1222511920b596065bd2cb53cd0bf1a6b70ba821f740ef35473bf08a7f1ce5a864203b98dc2ec89abc2b496a0e5e1f821865e9d83843ab0f4549')
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:
|