From b3f93072fec20c28561c2ef4109590afda9790d5 Mon Sep 17 00:00:00 2001
From: Michael Hanson <mihanson@linhes.org>
Date: Fri, 4 Nov 2011 19:46:19 +0000
Subject: libproxy: update to 0.4.7 and remove networkmanager deps and adjust
 kdelibs

---
 abs/extra/libproxy/PKGBUILD    | 30 ++++++++++++++----------------
 abs/extra/libproxy/__changelog |  2 ++
 2 files changed, 16 insertions(+), 16 deletions(-)
 create mode 100644 abs/extra/libproxy/__changelog

diff --git a/abs/extra/libproxy/PKGBUILD b/abs/extra/libproxy/PKGBUILD
index 2f2010e..3312aba 100644
--- a/abs/extra/libproxy/PKGBUILD
+++ b/abs/extra/libproxy/PKGBUILD
@@ -2,41 +2,39 @@
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=libproxy
-pkgver=0.4.6
-pkgrel=2
+pkgver=0.4.7
+pkgrel=1
 pkgdesc="A library that provides automatic proxy configuration management"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('gcc-libs')
-optdepends=('gconf: GNOME configuration module'
-            'kdelibs: KDE configuration module'
-            'networkmanager: NetworkManager configuration module'
-            'libwebkit: WPAD/PAC parsing via WebKit JavaScript engine'
-            'xulrunner: WPAD/PAC parsing via Mozilla JavaScript engine'
+optdepends=('kdelibs3: KDE configuration module'
             'perl: Perl bindings'
             'python2: Python bindings')
-makedepends=('xulrunner' 'gconf' 'cmake' 'networkmanager' 'libwebkit' 'automoc4' 'python2' 'kdelibs' 'perl')
+makedepends=('cmake' 'automoc4' 'python2' 'kdelibs3' 'perl')
 url="http://libproxy.googlecode.com"
 source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
 options=('!libtool')
-md5sums=('199c6b120baf1f7258a55f38d5ec74f5')
+md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}"
   mkdir build
   cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
     -DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
     -DCMAKE_SKIP_RPATH=ON \
     -DPERL_VENDORINSTALL=yes \
-    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_WEBKIT=OFF \
     -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
-    -DCMAKE_C_FLAGS="${CFLAGS}" \
-    ..
+    -DCMAKE_C_FLAGS="${CFLAGS}"
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  cd "${srcdir}/build"
   make DESTDIR="${pkgdir}" install
 }
+
diff --git a/abs/extra/libproxy/__changelog b/abs/extra/libproxy/__changelog
new file mode 100644
index 0000000..b61a183
--- /dev/null
+++ b/abs/extra/libproxy/__changelog
@@ -0,0 +1,2 @@
+- remove 'networkmanager' and as makedep and optdep.  MH
+- change 'kdelibs' dep and optdep to 'kdelibs3' MH
-- 
cgit v0.12

