summaryrefslogtreecommitdiff
path: root/extra/ptlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ptlib/PKGBUILD')
-rw-r--r--extra/ptlib/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/ptlib/PKGBUILD b/extra/ptlib/PKGBUILD
index d023243a5..efba27e62 100644
--- a/extra/ptlib/PKGBUILD
+++ b/extra/ptlib/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 81955 2010-06-07 12:18:47Z jgc $
+# $Id: PKGBUILD 111692 2011-02-28 18:24:37Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=ptlib
-pkgver=2.6.7
+pkgver=2.8.3
pkgrel=1
pkgdesc="Portable Windows Library"
arch=(i686 x86_64)
url="http://www.ekiga.org/"
license=('GPL')
-depends=('gcc-libs>=4.5.0' 'openssl' 'alsa-lib>=1.0.21.a' 'sdl>=1.2.14' 'libv4l>=0.6.4' 'expat>=2.0.1')
+depends=('gcc-libs' 'openssl' 'alsa-lib' 'sdl' 'expat' 'libpulse' 'v4l-utils')
replaces=('pwlib')
conflicts=('pwlib')
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('7dd28225fedd21154d34899b21ee4b6d27c88eb1a9f9931c8e6ced28e8f3b97f')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('076afde4e53e5fd0989adc344c3741aea8342b105c3e879e2f4f9a42ef36793e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -23,7 +23,11 @@ build() {
--disable-avc --enable-sdl \
--enable-ipv6 --enable-v4l \
--enable-dc --disable-odbc \
- --enable-expat --enable-httpforms || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --enable-expat --enable-httpforms
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}