summaryrefslogtreecommitdiff
path: root/extra/libproxy
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-06 04:00:43 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-06 04:00:43 +0000
commit6b55be9272c15e1858a1a7236482298f677c1a3b (patch)
treea00e7300c358b2a4b16184192c53b8ce555a2412 /extra/libproxy
parent8faa42b28f39ace5fc2c3ec8a054fa0a5b246eab (diff)
Fri Jun 6 03:57:24 UTC 2014
Diffstat (limited to 'extra/libproxy')
-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
}