summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2014-01-06 21:53:55 +0100
committerCarsten Teibes2014-01-06 21:53:55 +0100
commitf671a9b3a13ffb4ea0d1af68b4708e7ab1f28c2e (patch)
tree579ac3734579c416bda8169a20066e04709f1089
downloadaur-f671a9b3a13ffb4ea0d1af68b4708e7ab1f28c2e.tar.gz
[add] python-librtmp 0.1.2
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD27
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ccea693f65
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-librtmp
+ pkgdesc = Python interface to librtmp
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://github.com/chrippa/python-librtmp
+ arch = x86_64
+ arch = i686
+ license = Simplified BSD
+ makedepends = python-setuptools
+ depends = python-singledispatch
+ depends = python-cffi
+ depends = rtmpdump
+ source = https://pypi.python.org/packages/source/p/python-librtmp/python-librtmp-0.1.2.tar.gz
+ md5sums = 2a1d37dc84f09a5c5a99bc435029c733
+ sha256sums = 207e539c04419cc2ea3380cfdee0c8576168079603168c7cc1807e9f4982e997
+
+pkgname = python-librtmp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5f805e40b07
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: carstene1ns <arch carsten-teibes de>
+# Contributor: kevku <kevku@gmx.com>
+
+pkgname=python-librtmp
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Python interface to librtmp"
+arch=('x86_64' 'i686')
+url="https://github.com/chrippa/python-librtmp"
+license=('Simplified BSD')
+depends=('python-singledispatch' 'python-cffi' 'rtmpdump')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('2a1d37dc84f09a5c5a99bc435029c733')
+sha256sums=('207e539c04419cc2ea3380cfdee0c8576168079603168c7cc1807e9f4982e997')
+
+build() {
+ cd $pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir/" --optimize=1
+}