[arch-commits] Commit in libxml++2.6/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu May 27 16:49:21 UTC 2021


    Date: Thursday, May 27, 2021 @ 16:49:21
  Author: heftig
Revision: 416567

archrelease: copy trunk to extra-x86_64

Added:
  libxml++2.6/repos/extra-x86_64/PKGBUILD
    (from rev 416566, libxml++2.6/trunk/PKGBUILD)
Deleted:
  libxml++2.6/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 16:49:04 UTC (rev 416566)
+++ PKGBUILD	2021-05-27 16:49:21 UTC (rev 416567)
@@ -1,54 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-
-pkgbase=libxml++2.6
-pkgname=('libxml++2.6' 'libxml++2.6-docs')
-pkgver=2.42.0
-pkgrel=1
-pkgdesc="C++ bindings to libxml2"
-url="https://libxmlplusplus.github.io/libxmlplusplus/"
-arch=(x86_64)
-license=(LGPL)
-depends=(libxml2 glibmm)
-makedepends=(glibmm-docs git meson mm-common)
-options=(!emptydirs)
-_commit=8f804be36d53729190062346fb32d727b49a2448  # tags/2.42.0^0
-source=("git+https://github.com/libxmlplusplus/libxmlplusplus#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd libxmlplusplus
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd libxmlplusplus
-}
-
-build() {
-  arch-meson libxmlplusplus build
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package_libxml++2.6() {
-  provides=("libxml++2=$pkgver" libxml++-2.6.so)
-  replaces=(libxml++2)
-  conflicts=(libxml++2)
-
-  DESTDIR="$pkgdir" meson install -C build
-
-  # Split -docs
-  mkdir -p docs/usr/share
-  mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
-}
-
-package_libxml++2.6-docs() {
-  pkgdesc+=" (documentation)"
-  depends=(glibmm-docs)
-
-  mv -t "$pkgdir" docs/*
-}

Copied: libxml++2.6/repos/extra-x86_64/PKGBUILD (from rev 416566, libxml++2.6/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-27 16:49:21 UTC (rev 416567)
@@ -0,0 +1,55 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgbase=libxml++2.6
+pkgname=(libxml++2.6 libxml++2.6-docs)
+pkgver=2.42.1
+pkgrel=1
+pkgdesc="C++ bindings to libxml2"
+url="https://libxmlplusplus.github.io/libxmlplusplus/"
+arch=(x86_64)
+license=(LGPL)
+depends=(libxml2 glibmm)
+makedepends=(git meson mm-common glibmm-docs)
+options=(!emptydirs)
+_commit=ceedcb1ca7462305cbca16464bbc5ea50d89c356  # tags/2.42.1^0
+source=("git+https://github.com/libxmlplusplus/libxmlplusplus#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libxmlplusplus
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd libxmlplusplus
+}
+
+build() {
+  arch-meson libxmlplusplus build -D maintainer-mode=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_libxml++2.6() {
+  provides=("libxml++2=$pkgver" libxml++-2.6.so)
+  conflicts=(libxml++2)
+  replaces=(libxml++2)
+
+  meson install -C build --destdir "$pkgdir"
+
+  # Split -docs
+  mkdir -p docs/usr/share
+  mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
+}
+
+package_libxml++2.6-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  options=(!strip)
+
+  mv -t "$pkgdir" docs/*
+}



More information about the arch-commits mailing list