summaryrefslogtreecommitdiff
path: root/libgusb/Pkgfile
blob: 72d12dbf279fa8438ba4b72989db3ad49f73030a (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.8
    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     --wrap-mode nodownload \
   16     -D b_lto=true \
   17     -D b_pie=true \
   18     -D vapi=false \
   19     -D tests=false \
   20     -D docs=false
   21   meson compile -C build
   22   DESTDIR=$PKG meson install -C build
   23 }

Generated by cgit