Date: Saturday, July 28, 2018 @ 12:13:33 Author: dvzrv Revision: 363746
archrelease: copy trunk to community-testing-x86_64 Added: python-pyalsa/repos/community-testing-x86_64/ python-pyalsa/repos/community-testing-x86_64/PKGBUILD (from rev 363745, python-pyalsa/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: python-pyalsa/repos/community-testing-x86_64/PKGBUILD (from rev 363745, python-pyalsa/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-07-28 12:13:33 UTC (rev 363746) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: David Runge <d...@sleepmap.de> +_name=pyalsa +pkgname=python-pyalsa +pkgver=1.1.6 +pkgrel=1 +pkgdesc="Python binding for the ALSA library" +arch=('x86_64') +url="https://www.alsa-project.org" +license=('LGPL2.1') +groups=('alsa') +depends=('alsa-lib' 'python') +makedepends=('python-setuptools') +source=("ftp://ftp.alsa-project.org/pub/${_name}/${_name}-${pkgver}.tar.bz2") +sha512sums=('6c6aee1ad32c2208ab3f91defee5651cca8bb414479ff80e8a1bd6791ec1df2218a61dd8e7c01f95bd5d51807776034ff96cca2b935e9e4e23d13b6c3c40a0dd') + +prepare() { + mv -v "${_name}-${pkgver}" "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}/" +}