blob: 464466192dbb3fc007dc24a42c96f96b8952600a (
plain)
1 # Description: GObject wrapper for libusb1
2 # URL: https://github.com/hughsie/libgusb
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: gobject-introspection
5
6 name=libgusb
7 version=0.3.7
8 release=1
9 source=(https://github.com/hughsie/libgusb/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 meson setup $name-$version build \
13 --prefix=/usr \
14 --buildtype=plain \
15 -D vapi=false \
16 -D tests=false \
17 -D docs=false
18 meson compile -C build
19 DESTDIR=$PKG meson install -C build
20 }
|