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

Jan Steffens heftig at archlinux.org
Thu May 27 16:46:28 UTC 2021


    Date: Thursday, May 27, 2021 @ 16:46:28
  Author: heftig
Revision: 416565

3.2.3-1

Modified:
  libxml++/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 16:46:21 UTC (rev 416564)
+++ PKGBUILD	2021-05-27 16:46:28 UTC (rev 416565)
@@ -3,7 +3,7 @@
 
 pkgbase=libxml++
 pkgname=(libxml++ libxml++-docs)
-pkgver=3.2.2
+pkgver=3.2.3
 pkgrel=1
 pkgdesc="C++ bindings to libxml2"
 url="https://libxmlplusplus.github.io/libxmlplusplus/"
@@ -10,9 +10,9 @@
 arch=(x86_64)
 license=(LGPL)
 depends=(libxml2 glibmm)
-makedepends=(glibmm-docs git meson mm-common)
+makedepends=(git meson mm-common glibmm-docs)
 options=(!emptydirs)
-_commit=ba03d1ea29c1b6a8757be9b56637f19d1385ad3e  # tags/3.2.2^0
+_commit=e844282958af940cf374302c22b369dbdaa1fcdd  # tags/3.2.3^0
 source=("git+https://github.com/libxmlplusplus/libxmlplusplus#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -26,7 +26,7 @@
 }
 
 build() {
-  arch-meson libxmlplusplus build
+  arch-meson libxmlplusplus build -D maintainer-mode=true
   meson compile -C build
 }
 
@@ -39,7 +39,7 @@
 package_libxml++ () {
   provides=(libxml++-3.0.so)
 
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 
   # Split -docs
   mkdir -p docs/usr/share
@@ -48,7 +48,8 @@
 
 package_libxml++-docs() {
   pkgdesc+=" (documentation)"
-  depends=(glibmm-docs)
+  depends=()
+  options=(!strip)
 
   mv -t "$pkgdir" docs/*
 }



More information about the arch-commits mailing list