description='The libxmlb package contains a library and a tool which help create and query binary XML blobs.'
url='https://github.com/hughsie/libxmlb'

license="LGPL2.1"

packager="spiky <spiky@nutyx.org>"
contributors=""

makedepends=(meson gobject-introspection gtk-doc)

name=libxmlb
version=0.3.19

source=(https://github.com/hughsie/libxmlb/releases/download/$version/$name-$version.tar.xz)

build() {
cd $name-$version

mkdir build
cd    build

meson setup .. \
      --prefix=/usr \
      -Dgtkdoc=false

ninja

DESTDIR=$PKG ninja install

install -Dm644 ../LICENSE $PKG/usr/share/licenses/$name/LICENSE
}
