Date: Thursday, April 6, 2023 @ 16:05:48
Author: felixonmars
Revision: 1439533
archrelease: copy trunk to community-staging-any
Added:
python-sounddevice/repos/community-staging-any/
python-sounddevice/repos/community-staging-any/PKGBUILD
(from rev 1439532, python-sounddevice/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: python-sounddevice/repos/community-staging-any/PKGBUILD (from rev
1439532, python-sounddevice/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 16:05:48 UTC (rev 1439533)
@@ -0,0 +1,22 @@
+# Maintainer: Alexander F. Rødseth <[email protected]>
+# Contributor: robertfoster <[email protected]>
+# Contributor: Håvard Pettersson <[email protected]>
+
+pkgname=python-sounddevice
+pkgver=0.4.5
+pkgrel=2
+pkgdesc='Record and play back sound'
+url='https://python-sounddevice.rtfd.io/'
+arch=(any)
+license=(MIT)
+depends=(portaudio python-cffi)
+makedepends=(python-setuptools)
+optdepends=('python-numpy: to play back and record NumPy arrays')
+source=("https://files.pythonhosted.org/packages/source/s/sounddevice/sounddevice-$pkgver.tar.gz")
+b2sums=('2288faa23280fd0a82fb239eac632e8a3e681ad9f681f7508312bad8be64b57a86de8e7384f168e362ae7c39a118fe9aeeaf40d16502b5aee3d25c7d1df48cfb')
+
+package() {
+ cd sounddevice-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}