summaryrefslogtreecommitdiff
path: root/extra/libproxy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libproxy/PKGBUILD')
-rw-r--r--extra/libproxy/PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD
index 6ee628dfc..5acf4c51a 100644
--- a/extra/libproxy/PKGBUILD
+++ b/extra/libproxy/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 198222 2013-10-30 13:33:08Z allan $
+# $Id: PKGBUILD 214205 2014-06-04 13:51:10Z bluewind $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libproxy
pkgver=0.4.11
-pkgrel=2
+pkgrel=3
pkgdesc="A library that provides automatic proxy configuration management"
arch=(i686 x86_64)
license=('LGPL')
@@ -18,8 +18,6 @@ source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('3cd1ae2a4abecf44b3f24d6639d2cd84')
build() {
- cd "${srcdir}"
-
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -30,11 +28,12 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DWITH_WEBKIT=OFF \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2
make
}
package() {
- cd "${srcdir}/build"
+ cd build
make DESTDIR="${pkgdir}" install
}