pkgname=libgusb pkgver=0.4.9 pkgrel=1 pkgdesc="GObject wrapper for libusb1" arch=('x86_64') url="https://github.com/hughsie/libgusb" license=('LGPL-2.1-or-later') depends=('glib2' 'json-glib' 'libusb') makedepends=('gobject-introspection' 'meson' 'python-gi-docgen' 'python-setuptools' 'vala') source=(https://github.com/hughsie/libgusb/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(9df5ef301d6a4b361002aa52cce1165a87a89744055879bdbab31e7e86f1e846) build() { cd ${pkgname}-${pkgver} local meson_args=( -Ddocs=true ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver} ${meson_install} ${pkgdir} }