From fbba245e392f2873fe2018f953e61aac756cb962 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 27 Jul 2024 00:35:48 -0400 Subject: [PATCH] qubes-input-proxy: new aport --- qubes-input-proxy/APKBUILD | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 qubes-input-proxy/APKBUILD diff --git a/qubes-input-proxy/APKBUILD b/qubes-input-proxy/APKBUILD new file mode 100644 index 0000000..f5d15c9 --- /dev/null +++ b/qubes-input-proxy/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=qubes-input-proxy +pkgver=1.0.37 +_gittag=v$pkgver +pkgrel=0 +pkgdesc="The Qubes service for proxying input devices" +arch="x86_64" +url="http://qubes-os.org/" +license='GPL' +depends=" + usbutils + qubes-vm-core + " +makedepends="linux-headers" +source="$pkgname-$_gittag.tar.gz::https://github.com/QubesOS/qubes-app-linux-input-proxy/archive/refs/tags/$_gittag.tar.gz" +builddir="$srcdir"/qubes-app-linux-input-proxy-$pkgver + +build() { + make all \ + LIBDIR=/usr/lib \ + USRLIBDIR=/usr/lib \ + SYSLIBDIR=/usr/lib +} + +package() { + make install-vm \ + DESTDIR="$pkgdir" \ + LIBDIR=/usr/lib \ + USRLIBDIR=/usr/lib \ + SYSLIBDIR=/usr/lib + + # replace all shebangs with /bin/sh as qubes expects bash + # shellcheck disable=SC2013 + for i in $(grep '/bin/sh' -Rl "$pkgdir"); do + sed -i 's|/bin/sh|/bin/bash|' "$i" + done +} +sha512sums=" +0abe75960531c96f2760a462710de2d5e54d95792d719e42d7ae7e2a22b586e4573835584df74ba288e761ed64149f6a951c19301039cf3293621b4032085292 qubes-input-proxy-v1.0.37.tar.gz +"