# Description: A library for querying the osinfo database
# URL: https://libosinfo.org/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: meson gobject-introspection osinfo-db

name=libosinfo
version=1.10.0
release=1
source=(https://releases.pagure.org/libosinfo/$name-$version.tar.xz)

build() {
  meson setup $name-$version build \
    --prefix=/usr \
    --buildtype=plain \
    -Denable-gtk-doc=false \
    -Denable-vala=disabled
  meson compile -C build
  DESTDIR=$PKG meson install -C build

  rm -r $PKG/usr/share/locale
}
