diff options
Diffstat (limited to 'extra/ptlib/PKGBUILD')
-rw-r--r-- | extra/ptlib/PKGBUILD | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/extra/ptlib/PKGBUILD b/extra/ptlib/PKGBUILD index 9c99a90ac..2ff6b231e 100644 --- a/extra/ptlib/PKGBUILD +++ b/extra/ptlib/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 185571 2013-05-15 08:05:30Z bpiotrowski $ +# $Id: PKGBUILD 196964 2013-10-21 11:48:01Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=ptlib -pkgver=2.10.10 -pkgrel=2 +pkgver=2.10.11 +pkgrel=1 pkgdesc="Portable Windows Library" arch=('i686' 'x86_64' 'mips64el') url="http://www.opalvoip.org" @@ -11,11 +11,18 @@ license=('GPL') depends=('sdl' 'libpulse' 'v4l-utils' 'libldap') replaces=('pwlib') conflicts=('pwlib') -source=(http://ftp.gnome.org/pub/GNOME/sources/ptlib/${pkgver%.*}/ptlib-$pkgver.tar.xz) -sha256sums=('7fcaabe194cbd3bc0b370b951dffd19cfe7ea0298bfff6aecee948e97f3207e4') +source=(http://downloads.sourceforge.net/opalvoip/ptlib-$pkgver.tar.bz2 + ptlib-2.10.10-bison_fixes-1.patch) +sha256sums=('27a8ba1fd147195c0b310897f81d26f73996b77b18147e587638444cfacd681a' + '11027b21f568b2ab84f9c25775e5a697a15304b39aaab6380922ed609aac63b9') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../ptlib-2.10.10-bison_fixes-1.patch +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib \ --sysconfdir=/etc --localstatedir=/var \ --enable-opal --enable-plugins \ @@ -28,6 +35,6 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install } |