You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
666 B

# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=libgusb
pkgver=0.3.6
pkgrel=1
pkgdesc='GObject wrapper for libusb1'
url=https://github.com/hughsie/libgusb
arch=(x86_64)
license=(LGPL2.1)
depends=(
glib2
libusb
)
makedepends=(
git
gobject-introspection
gtk-doc
meson
vala
)
_tag=b0464454048cac6779d4d51f12fe7f37ae4bbd57
source=(git+https://github.com/hughsie/libgusb.git#tag=${_tag})
sha256sums=(SKIP)
pkgver() {
cd libgusb
git describe --tags
}
build() {
arch-meson libgusb build
ninja -C build
}
package() {
DESTDIR="${pkgdir}" ninja -C build install
}
# vim: ts=2 sw=2 et: