Commit a24d99d9 authored by Leo's avatar Leo Committed by Kevin Daudt

testing/libxmlb: new aport

parent 09691e88
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=libxmlb
pkgver=0.1.9
pkgrel=0
pkgdesc="Library to help create and query binary XML blobs"
url="https://github.com/hughsie/libxmlb"
arch="all"
license="LGPL-2.1-or-later"
makedepends="meson glib-dev util-linux-dev gobject-introspection-dev"
checkdepends="shared-mime-info"
subpackages="$pkgname-dev:_dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/hughsie/libxmlb/archive/$pkgver.tar.gz"
build() {
meson \
--prefix=/usr \
-Dgtkdoc=false \
-Dtests=true \
-Dstemmer=false \
-Dintrospection=true \
build
ninja -C build
}
check() {
ninja -C build test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
rm -rf "$pkgdir"/usr/share/installed-tests
}
_dev() {
default_dev
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/libexec "$subpkgdir"/usr
}
sha512sums="a87e3a708bf5a7dc5452da5a3157fe79224c32175add63f6c077252c856e58cdfb80d0d69a79868964abb318cc44d5512a61eb99c8267ff2fb9aa921ed78fb13 libxmlb-0.1.9.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment