blob: 7b49900c498c3ceca3a0bc329ff1c0cf751e38e6 (
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
37
38
39
|
# Maintainer: Fernando Ortiz <nandub+arch [at] nandub.info>
# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgbase=python-pyalsaaudio-git
pkgname=(python-pyalsaaudio-git)
_pkgname=pyalsaaudio
pkgver=0.9.2.r17.g67adbf0
pkgrel=2
pkgdesc="ALSA wrappers for Python (development version)"
arch=('i686' 'x86_64' 'armv7h')
url="http://larsimmisch.github.io/pyalsaaudio/"
license=('custom: PSF')
depends=('alsa-lib' 'glibc')
conflicts=('python-pyalsaaudio')
provides=('python-pyalsaaudio')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("git+https://github.com/larsimmisch/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
git describe --long --tags | sed 's/^v//; s/-/.r/; s/-/./g'
}
_archive="${_pkgname}"
build() {
cd "${_archive}"
python -m build --wheel --no-isolation
}
package() {
cd "${_archive}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|