# Contributor: TBK # Maintainer: TBK pkgname=qt5-qtusb pkgver=0.6.0 pkgrel=0 pkgdesc="Qt5 - a cross-platform USB Module for Qt." url="https://github.com/fpoussin/QtUsb/" arch="all" license="LGPL-3.0-only" options="!check" # at the moment "make install" is needed for it to work makedepends="hidapi-dev libusb-dev qt5-qtbase-dev" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/fpoussin/QtUsb/archive/$pkgver.tar.gz" builddir="$srcdir/QtUsb-$pkgver" build() { qmake-qt5 make } check() { cd tests qmake-qt5 make -i check TESTARGS="-o result.xml,xunitxml" } package() { make INSTALL_ROOT="$pkgdir" install } sha512sums="ab0a69a0b1fc0d9c7a1c8bc0002531e9c210b3d73e54758b9a6d1ea1f8c001c455e7a0d750ab7fc234bee9c1d2dc6e3a27bec48fd669f730e5e8379f3b1a90ff qt5-qtusb-0.6.0.tar.gz"