# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=libxmlb pkgver=0.3.14 pkgrel=0 pkgdesc="Library for working with binary XML blobs" url="https://github.com/hughsie/libxmlb" arch="all" license="LGPL-2.1+" depends="" makedepends="cmake meson ninja glib-dev gobject-introspection-dev gtk-doc xz-dev zstd-dev" subpackages="$pkgname-dev $pkgname-doc" source="libxmlb-$pkgver.tar.gz::https://github.com/hughsie/libxmlb/archive/$pkgver.tar.gz" build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ --wrap-mode=nofallback \ . output meson compile -C output } check() { meson test -C output } package() { DESTDIR="$pkgdir" meson install -C output } sha512sums="6c77b9475ca3430270ca29e3d1c5720740c54ff55da76501495da315ea039500e64791689600aa59f3003ff54d030203616ad468169c296bf34434a68e24df50 libxmlb-0.3.14.tar.gz"