# Contributor: Michał Polański # Maintainer: pkgname=libqb pkgver=2.0.8 pkgrel=0 pkgdesc="Library providing high performance logging, tracing, ipc, and poll" url="https://clusterlabs.github.io/libqb" license="LGPL-2.1-or-later" arch="all" makedepends=" autoconf automake coreutils doxygen graphviz-dev libtool libxml2-dev " checkdepends="check-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="https://github.com/ClusterLabs/libqb/releases/download/v$pkgver/libqb-$pkgver.tar.xz" prepare() { default_prepare ./autogen.sh } check() { make -C tests VERBOSE=1 check } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --localstatedir=/var \ --includedir=/usr/include \ --disable-static make } package() { make install DESTDIR="$pkgdir" # remove a helper tool rm "$pkgdir"/usr/bin/doxygen2man } tools() { pkgdesc="Tools to use with $pkgname" amove usr/sbin } sha512sums=" 9db87b248af87d9aa0520bc0045264a5f0a710fd582a16285990685cb8f8b485ba24b774f2ab7eb719bac5ed3bbf3a315696f7191a5fcf7beea33126a4402a09 libqb-2.0.8.tar.xz "