summaryrefslogtreecommitdiffstats
path: root/abs/extra/libproxy/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-15 15:47:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-15 15:47:00 (GMT)
commit70eb48828108883f3ada1c2d3edaccfb13956fdc (patch)
treec3d44b702f36e1dbcb84e6170c1fddd53ddf1e30 /abs/extra/libproxy/PKGBUILD
parentb265dfd76462e392f940145658895b338705b78e (diff)
downloadlinhes_pkgbuild-70eb48828108883f3ada1c2d3edaccfb13956fdc.zip
linhes_pkgbuild-70eb48828108883f3ada1c2d3edaccfb13956fdc.tar.gz
linhes_pkgbuild-70eb48828108883f3ada1c2d3edaccfb13956fdc.tar.bz2
libproxy 0.4.7
Diffstat (limited to 'abs/extra/libproxy/PKGBUILD')
-rw-r--r--abs/extra/libproxy/PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/abs/extra/libproxy/PKGBUILD b/abs/extra/libproxy/PKGBUILD
index 3312aba..9fb8e85 100644
--- a/abs/extra/libproxy/PKGBUILD
+++ b/abs/extra/libproxy/PKGBUILD
@@ -3,22 +3,30 @@
pkgname=libproxy
pkgver=0.4.7
-pkgrel=1
+pkgrel=2
pkgdesc="A library that provides automatic proxy configuration management"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
license=('LGPL')
depends=('gcc-libs')
-optdepends=('kdelibs3: KDE configuration module'
+optdepends=('kdelibs: KDE configuration module'
+ 'networkmanager: NetworkManager configuration module'
'perl: Perl bindings'
'python2: Python bindings')
-makedepends=('cmake' 'automoc4' 'python2' 'kdelibs3' 'perl')
+makedepends=('cmake' 'automoc4' 'python2' 'perl')
url="http://libproxy.googlecode.com"
-source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
+ libproxy-0.4.7-unistd.patch)
options=('!libtool')
-md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5')
+md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5'
+ 'e90c03f296e553ace347b46f4fea3625')
build() {
cd "${srcdir}"
+
+ # Fix build with GCC 4.7 (patch from Fedora)
+ patch -d "${pkgname}-${pkgver}" -Np1 -i \
+ "${srcdir}/libproxy-0.4.7-unistd.patch"
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -37,4 +45,3 @@ package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
-