author | David Runge
<dvzrv@archlinux.org> 2023-05-23 22:45:03 UTC |
committer | David Runge
<dvzrv@archlinux.org> 2023-05-23 22:45:03 UTC |
parent | e8995cc0eb59e845815fff17241cd285830f7cc3 |
PKGBUILD | +4 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index f62963d..6282be8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgname=usbutils pkgver=015 -pkgrel=2 +pkgrel=3 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/" @@ -14,8 +14,9 @@ license=(GPL2 GPL3) depends=(glibc hwdata) makedepends=(libusb systemd) optdepends=( - 'python: for lsusb.py usage' 'coreutils: for lsusb.py usage' + 'python: for lsusb.py usage' + 'sh: for usb-devices' ) source=(https://www.kernel.org/pub/linux/utils/usb/usbutils/$pkgname-$pkgver.tar{.xz,.sign}) sha512sums=('cda0070138400703d7429d39dee49130aedaa704292531e6af57b347cc62422ca609540650926e74335f71d67d7d4655418be4824e1eb8a2b065c7b395feaa87' @@ -45,5 +46,6 @@ package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install + install -vDm 755 usbreset -t "$pkgdir/usr/bin" install -vDm 644 NEWS -t "$pkgdir/usr/share/doc/$pkgname/" }