Date: Monday, August 16, 2021 @ 15:56:18 Author: anatolik Revision: 1001050
archrelease: copy trunk to community-testing-x86_64 Added: usbredir/repos/community-testing-x86_64/ usbredir/repos/community-testing-x86_64/PKGBUILD (from rev 1001049, usbredir/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: usbredir/repos/community-testing-x86_64/PKGBUILD (from rev 1001049, usbredir/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-08-16 15:56:18 UTC (rev 1001050) @@ -0,0 +1,30 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Stefano Facchini <stefano.facch...@gmail.com> + +pkgname=usbredir +pkgver=0.11.0 +pkgrel=1 +pkgdesc="USB traffic redirection protocol" +arch=('x86_64') +url="https://www.spice-space.org/usbredir.html" +license=('GPL2' 'LGPL2.1') +depends=('libusb' 'glib2') +makedepends=('meson') +source=(https://spice-space.org/download/usbredir/$pkgname-$pkgver.tar.xz) +sha256sums=('72dd5f3aa90dfbc0510b5149bb5b1654c8f21fdc405dfce7b5dc163dcff19cba') + +build() { + cd "$srcdir/$pkgname-$pkgver" + arch-meson . build + meson compile -C build +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + meson test -C build --print-errorlogs +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + meson install -C build --destdir="$pkgdir" +}