# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=qubes-usb-proxy pkgver=1.1.5 _gittag="v$pkgver" pkgrel=0 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=" 27d28faec2ab9cc9df1e361dac244bc1b10afc406860ca2e3fc2dff3b666c6adaed615625aeba785918f8e08cffb215ef028698a178d795e586740caf1566fc9 qubes-usb-proxy-v1.1.5.tar.gz "