[arch-commits] Commit in libproxy/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:26:13 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:26:12
  Author: foutrelis
Revision: 354098

archrelease: copy trunk to staging-x86_64

Added:
  libproxy/repos/staging-x86_64/
  libproxy/repos/staging-x86_64/PKGBUILD
    (from rev 354097, libproxy/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: libproxy/repos/staging-x86_64/PKGBUILD (from rev 354097, libproxy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-05-25 09:26:12 UTC (rev 354098)
@@ -0,0 +1,47 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libproxy
+pkgver=0.4.15
+pkgrel=9
+pkgdesc="A library that provides automatic proxy configuration management"
+arch=(x86_64)
+license=('LGPL')
+depends=('gcc-libs')
+optdepends=('networkmanager: NetworkManager configuration module'
+            'perl: Perl bindings'
+            'python2: Python 2.x bindings'
+            'python: Python 3.x bindings'
+            'glib2: gsettings configuration module'
+            'webkit2gtk: PAC proxy support (Webkit2gtk engine)')
+makedepends=('cmake' 'networkmanager' 'python' 'python2' 'perl' 'webkit2gtk')
+url="https://libproxy.github.io/libproxy/"
+source=(https://github.com/libproxy/libproxy/archive/${pkgver}.tar.gz)
+sha256sums=('18f58b0a0043b6881774187427ead158d310127fc46a1c668ad6d207fb28b4e0')
+
+prepare() {
+  if [ ! -d build ]; then
+    mkdir build
+  fi
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DPERL_VENDORINSTALL=yes \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_WEBKIT3=ON \
+    -DWITH_MOZJS=OFF \
+    -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
+    -DCMAKE_C_FLAGS="${CFLAGS}" \
+    -DPYTHON2_EXECUTABLE:FILEPATH=/usr/bin/python2 \
+    -DBIPR=0
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list