[arch-commits] Commit in usbredir/repos (2 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Tue Nov 23 16:46:38 UTC 2021
Date: Tuesday, November 23, 2021 @ 16:46:38
Author: anatolik
Revision: 1054482
archrelease: copy trunk to community-testing-x86_64
Added:
usbredir/repos/community-testing-x86_64/
usbredir/repos/community-testing-x86_64/PKGBUILD
(from rev 1054481, usbredir/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: usbredir/repos/community-testing-x86_64/PKGBUILD (from rev 1054481, usbredir/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-11-23 16:46:38 UTC (rev 1054482)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Stefano Facchini <stefano.facchini at gmail.com>
+
+pkgname=usbredir
+pkgver=0.12.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=('fbb44025bf55e1ce8d84afc7596bfa47c8a36cd603c6fa440f9102c1c9761e6d')
+
+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"
+}
More information about the arch-commits
mailing list