2023-08-14 03:34:14 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
pkgname=qubes-usb-proxy
|
2023-08-14 17:30:40 +00:00
|
|
|
pkgver=1.1.5
|
2023-08-14 03:34:14 +00:00
|
|
|
_gittag="v$pkgver"
|
2023-08-27 18:48:55 +00:00
|
|
|
pkgrel=1
|
2023-08-14 03:34:14 +00:00
|
|
|
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="
|
2023-08-14 17:30:40 +00:00
|
|
|
27d28faec2ab9cc9df1e361dac244bc1b10afc406860ca2e3fc2dff3b666c6adaed615625aeba785918f8e08cffb215ef028698a178d795e586740caf1566fc9 qubes-usb-proxy-v1.1.5.tar.gz
|
2023-08-14 03:34:14 +00:00
|
|
|
"
|