summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 7 insertions, 15 deletions
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')