[arch-commits] Commit in libproxy/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Tue Jun 21 22:19:10 UTC 2022


    Date: Tuesday, June 21, 2022 @ 22:19:09
  Author: heftig
Revision: 449243

0.4.18-1

Modified:
  libproxy/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-21 22:06:38 UTC (rev 449242)
+++ PKGBUILD	2022-06-21 22:19:09 UTC (rev 449243)
@@ -3,29 +3,30 @@
 
 pkgbase=libproxy
 pkgname=(libproxy libproxy-webkit)
-pkgver=0.4.17
-pkgrel=7
+pkgver=0.4.18
+pkgrel=1
 pkgdesc="Automatic proxy configuration management library"
 url="https://libproxy.github.io/libproxy/"
 arch=(x86_64)
 license=(LGPL)
-depends=(gcc-libs glib2 dbus)
-makedepends=(cmake python perl webkit2gtk git)
-_commit=e78a5ccfe0a2340f2c73e419767f8492ffc2787a  # tags/0.4.17
+depends=(dbus gcc-libs glib2 zlib duktape)
+makedepends=(cmake git ninja webkit2gtk)
+options=(debug)
+_commit=caccaf28e3df6ea612d2d4b39f781c4324019fdb  # tags/0.4.18
 source=("git+https://github.com/libproxy/libproxy#commit=$_commit")
-sha256sums=('SKIP')
+b2sums=('SKIP')
 
 pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/-/+/g'
+  cd libproxy
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgbase
+  cd libproxy
 }
 
 build() {
-  cmake -S $pkgbase -B build \
+  cmake -S libproxy -B build -G Ninja \
     -DBIPR=0 \
     -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
@@ -34,7 +35,7 @@
     -DCMAKE_SKIP_RPATH=ON \
     -DLIBEXEC_INSTALL_DIR=/usr/lib \
     -DPERL_VENDORINSTALL=yes \
-    -DWITH_WEBKIT3=ON
+    -DWITH_{VALA,WEBKIT3}=ON
   cmake --build build
 }
 
@@ -61,13 +62,14 @@
 
   DESTDIR="$pkgdir" cmake --install build
 
-### Split
   _pick webkit "$pkgdir"/usr/lib/libproxy/*/modules/pacrunner_webkit.so
 }
 
 package_libproxy-webkit() {
   pkgdesc="JavaScriptCore-based PAC proxy support for libproxy"
-  depends=(libproxy.so webkit2gtk)
+  depends=(libproxy webkit2gtk)
   replaces=('libproxy-mozjs<0.4.16-1')
   mv webkit/* "$pkgdir"
 }
+
+# vim:set sw=2 sts=-1 et:



More information about the arch-commits mailing list