# Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=qubes-usb-proxy pkgver=1.2.2 _gittag="v$pkgver" pkgrel=2 pkgdesc="The Qubes service for proxying USB devices" arch="noarch" url="https://github.com/QubesOS/qubes-app-linux-usb-proxy" license="GPL" options="!check" # No testsuite depends=" qubes-vm-core usbutils " makedepends=" gcc make pkgconf " source="$pkgname-$_gittag.tar.gz::https://github.com/QubesOS/qubes-app-linux-usb-proxy/archive/refs/tags/$_gittag.tar.gz" builddir="$srcdir"/qubes-app-linux-usb-proxy-${_gittag/v} package() { make install-vm DESTDIR="$pkgdir" # replace all shebangs with /bin/sh as qubes expects bash # shellcheck disable=SC2013 for i in $(grep '/bin/sh' -Rl .); do sed -i 's|/bin/sh|/bin/bash|' "$i" done } sha512sums=" 8083b49c913020e5f44b3b7f051773af0e98f3d4687186358b4f273dd3c8c62cb8eac31af2a6ffe4b9088e18ba92a94d89f5980997bad283026e654466202490 qubes-usb-proxy-v1.2.2.tar.gz "