summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..de598f14476
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-pyaudio-git
+ pkgdesc = Python bindings for PortAudio (Fork to fix PY_SSIZE_T_CLEAN error)
+ pkgver = v0.2.11.r2.gf749f21
+ pkgrel = 1
+ url = https://git.skeh.site/skeh/pyaudio
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = portaudio
+ depends = python
+ provides = python-pyaudio
+ conflicts = python-pyaudio
+ source = python-pyaudio-git::git+https://git.skeh.site/skeh/pyaudio.git
+ md5sums = SKIP
+
+pkgname = python-pyaudio-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4fcbed8dda5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Janis Jansons <aur@janhouse.lv>
+pkgname=python-pyaudio-git
+pkgver=v0.2.11.r2.gf749f21
+pkgrel=1
+pkgdesc="Python bindings for PortAudio (Fork to fix PY_SSIZE_T_CLEAN error)"
+arch=('x86_64')
+url="https://git.skeh.site/skeh/pyaudio"
+license=('MIT')
+depends=('portaudio' 'python')
+provides=('python-pyaudio')
+conflicts=('python-pyaudio')
+makedepends=('git')
+source=("python-pyaudio-git::git+https://git.skeh.site/skeh/pyaudio.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd $srcdir/$pkgname
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$pkgname
+ python setup.py install --root="$pkgdir" --optimize=1
+}