Advertisement
Guest User

Untitled

a guest
Dec 1st, 2022
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.58 KB | None | 0 0
  1. pkgname=python-pyalsaaudio
  2. pkgver=0.9.2
  3. pkgrel=1
  4. pkgdesc="ALSA wrappers for Python"
  5. arch=('i686' 'x86_64' 'armv7h')
  6. url="http://larsimmisch.github.io/pyalsaaudio/"
  7. license=('custom: PSF')
  8. makedepends=('python-build' 'python-installer' 'python-wheel' 'alsa-lib')
  9. source=("https://files.pythonhosted.org/packages/source/p/pyalsaaudio/pyalsaaudio-$pkgver.tar.gz")
  10. md5sums=('5408be7d7017ae9272706acb4a543c2f')
  11.  
  12. build() {
  13.   cd pyalsaaudio-$pkgver
  14.   python -m build --wheel --no-isolation
  15. }
  16.  
  17. package() {
  18.   cd pyalsaaudio-$pkgver
  19.   python -m installer --destdir="$pkgdir" dist/*.whl
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement