#!/bin/sh NAME="usbredir" DESC="USB network redirection protocol libraries" MAKEDEPS="libusb meson glib" PKG_VER=0.13.0 SOURCE="https://www.spice-space.org/download/usbredir/usbredir-$PKG_VER.tar.xz" build() { meson --prefix=/usr \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$PKG_DEST" meson install --no-rebuild -C output }