summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5be7723ad9a..e8c843a41b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
# Generated by mksrcinfo v8
-# Sun Dec 10 15:11:31 UTC 2017
-pkgbase = pjproject
+# Sun Dec 10 15:13:26 UTC 2017
+pkgbase = python2-pjproject
pkgdesc = Open source SIP stack and media stack (also known as pjsip)
pkgver = 2.7.1
pkgrel = 1
diff --git a/PKGBUILD b/PKGBUILD
index 7670a688a3e..0e5e3bf7d99 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: robertfoster
# Contributor: SpepS <dreamspepser at yahoo dot it>
-pkgbase=pjproject
-pkgname=("python2-$pkgbase")
+pkgname=python2-pjproject
pkgver=2.7.1
pkgrel=1
pkgdesc="Open source SIP stack and media stack (also known as pjsip)"
@@ -11,10 +10,10 @@ url="http://www.pjsip.org/"
license=('GPL')
depends=('pjproject' 'python2')
makedepends=('python2-distribute')
-source=("http://www.pjsip.org/release/$pkgver/$pkgbase-$pkgver.tar.bz2")
+source=("http://www.pjsip.org/release/$pkgver/${pkgname##python2-}-$pkgver.tar.bz2")
-package_python2-pjproject() {
- cd $srcdir/$pkgbase-$pkgver
+package() {
+ cd $srcdir/${pkgname##python2-}-$pkgver
cd pjsip-apps/src/python/
python2 setup.py install --root="$pkgdir"