db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / libgusb / trunk / PKGBUILD
blobc864e2f2d6ebf9953b019737e05ed3117e821d5d
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=libgusb
5 pkgver=0.4.5
6 pkgrel=1
7 pkgdesc='GObject wrapper for libusb1'
8 url=https://github.com/hughsie/libgusb
9 arch=(x86_64)
10 license=(LGPL2.1)
11 depends=(
12   glib2
13   libjson-glib-1.0.so
14   libusb-1.0.so
16 makedepends=(
17   gi-docgen
18   git
19   gobject-introspection
20   gtk-doc
21   meson
22   python-setuptools
23   umockdev
24   vala
26 _tag=cfe6865211bc241fe5e10b999bc0e27e7bddcb84
27 source=(git+https://github.com/hughsie/libgusb.git#tag=${_tag})
28 sha256sums=(SKIP)
30 pkgver() {
31   cd libgusb
32   git describe --tags
35 build() {
36   arch-meson libgusb build
37   ninja -C build
40 package() {
41   DESTDIR="${pkgdir}" ninja -C build install
44 # vim: ts=2 sw=2 et: