summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/libxml++2.6
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-11-15 17:09:41 +0100
committerSlávek Banko <[email protected]>2022-11-15 17:09:41 +0100
commit0d43adafed4ce0fa22988f2ff8948f8f64d811a3 (patch)
treea15c8b9af137b41833b5a51a4da88ea6478d09fa /arch/tde-deps/libxml++2.6
parent9ad10a881e3df75b587767eb5cc78b2ea840316a (diff)
downloadtde-packaging-0d43adafed4ce0fa22988f2ff8948f8f64d811a3.tar.gz
tde-packaging-0d43adafed4ce0fa22988f2ff8948f8f64d811a3.zip
ArchLinux: Add powerpc64le to architectures.
Cleanup some unnecessary dependencies. Add pkgbuilds for dependencies that are not available on archlinuxpower.org. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'arch/tde-deps/libxml++2.6')
-rw-r--r--arch/tde-deps/libxml++2.6/PKGBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/tde-deps/libxml++2.6/PKGBUILD b/arch/tde-deps/libxml++2.6/PKGBUILD
new file mode 100644
index 000000000..56686585b
--- /dev/null
+++ b/arch/tde-deps/libxml++2.6/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: damir <[email protected]>
+
+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=('powerpc64le')
+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/*
+}