summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD22
2 files changed, 12 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 854b0d9aa80..5be7723ad9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Dec 27 11:34:33 UTC 2015
-pkgbase = python2-pjproject
+# Sun Dec 10 15:11:31 UTC 2017
+pkgbase = pjproject
pkgdesc = Open source SIP stack and media stack (also known as pjsip)
- pkgver = 2.4.5
+ pkgver = 2.7.1
pkgrel = 1
url = http://www.pjsip.org/
arch = i686
@@ -11,8 +11,8 @@ pkgbase = python2-pjproject
makedepends = python2-distribute
depends = pjproject
depends = python2
- source = http://www.pjsip.org/release/2.4.5/pjproject-2.4.5.tar.bz2
- md5sums = f58b3485977b3a700256203a554b3869
+ source = http://www.pjsip.org/release/2.7.1/pjproject-2.7.1.tar.bz2
+ md5sums = 99a64110fa5c2debff40e0e8d4676380
pkgname = python2-pjproject
diff --git a/PKGBUILD b/PKGBUILD
index a6101845817..7670a688a3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: robertfoster
# Contributor: SpepS <dreamspepser at yahoo dot it>
-_pkg=pjproject
-pkgname=python2-$_pkg
-pkgver=2.4.5
+pkgbase=pjproject
+pkgname=("python2-$pkgbase")
+pkgver=2.7.1
pkgrel=1
pkgdesc="Open source SIP stack and media stack (also known as pjsip)"
arch=('i686' 'x86_64')
@@ -11,21 +11,13 @@ url="http://www.pjsip.org/"
license=('GPL')
depends=('pjproject' 'python2')
makedepends=('python2-distribute')
-source=("http://www.pjsip.org/release/$pkgver/pjproject-$pkgver.tar.bz2")
+source=("http://www.pjsip.org/release/$pkgver/$pkgbase-$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"
+package_python2-pjproject() {
+ cd $srcdir/$pkgbase-$pkgver
cd pjsip-apps/src/python/
python2 setup.py install --root="$pkgdir"
}
-md5sums=('f58b3485977b3a700256203a554b3869')
+md5sums=('99a64110fa5c2debff40e0e8d4676380')