Date: Wednesday, November 9, 2022 @ 07:55:19
Author: tpowa
Revision: 461011
archrelease: copy trunk to testing-x86_64
Added:
usbutils/repos/testing-x86_64/
usbutils/repos/testing-x86_64/PKGBUILD
(from rev 461010, usbutils/trunk/PKGBUILD)
usbutils/repos/testing-x86_64/keys/
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: usbutils/repos/testing-x86_64/PKGBUILD (from rev 461010,
usbutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-11-09 07:55:19 UTC (rev 461011)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Tobias Powalowski <[email protected]>
+# Contributor: Tom Gundersen <[email protected]>
+# Contributor: Judd Vinet <[email protected]>
+# Contributor: Curtis Campbell <[email protected]>
+
+pkgname=usbutils
+pkgver=015
+pkgrel=1
+pkgdesc="A collection of USB tools to query connected USB devices"
+arch=('x86_64')
+url="https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/"
+license=('GPL2' 'GPL3')
+depends=('glibc' 'hwdata')
+makedepends=('git' 'libusb' 'systemd')
+optdepends=('python: for lsusb.py usage'
+ 'coreutils: for lsusb.py usage')
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git#commit=79b796f9")
+sha512sums=('SKIP')
+validpgpkeys=('647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
<[email protected]>
+
+prepare() {
+ cd "$pkgname"
+ autoreconf -fiv
+}
+
+build() {
+ cd "$pkgname"
+ ./configure --prefix=/usr \
+ --datadir=/usr/share/hwdata
+ make
+}
+
+package() {
+ depends+=('libusb-1.0.so' 'libudev.so')
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+ install -vDm 644 NEWS -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}