summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302015-06-17 16:16:38 +0200
committerM0Rf302015-06-17 16:16:38 +0200
commit83ea003b0008758208d67add41c2b480ce9620c5 (patch)
tree456c0a336e69e4f7534c1ba632f948791c427a41
downloadaur-83ea003b0008758208d67add41c2b480ce9620c5.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..92f8126fb1d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python2-pjproject
+ pkgdesc = Open source SIP stack and media stack (also known as pjsip)
+ pkgver = 2.2.1
+ pkgrel = 1
+ url = http://www.pjsip.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = python2-distribute
+ depends = pjproject
+ depends = python2
+ source = http://www.pjsip.org/release/2.2.1/pjproject-2.2.1.tar.bz2
+ md5sums = 6ed4bb7750c827dc1d881e209a3b62db
+
+pkgname = python2-pjproject
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fbde386d0dd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer : M0Rf30 <morf3089@gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+_pkg=pjproject
+pkgname=python2-$_pkg
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="Open source SIP stack and media stack (also known as pjsip)"
+arch=('i686' 'x86_64')
+url="http://www.pjsip.org/"
+license=('GPL')
+depends=('pjproject' 'python2')
+makedepends=('python2-distribute')
+source=("http://www.pjsip.org/release/$pkgver/pjproject-$pkgver.tar.bz2")
+
+build() {
+ cd "$srcdir/$_pkg-$pkgver"
+
+# Build python module
+ cd pjsip-apps/src/python/
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkg-$pkgver"
+
+ cd pjsip-apps/src/python/
+ python2 setup.py install --root="$pkgdir"
+}
+
+md5sums=('6ed4bb7750c827dc1d881e209a3b62db')