usbutils: update to 018.

This commit is contained in:
classabbyamp 2025-07-27 11:58:42 -04:00
parent 788fb381a2
commit 049c67ba38
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -1,10 +1,9 @@
# Template file for 'usbutils' # Template file for 'usbutils'
pkgname=usbutils pkgname=usbutils
version=017 version=018
revision=1 revision=1
build_style=gnu-configure build_style=meson
configure_args="--datadir=/usr/share/hwdata --disable-zlib" hostmakedepends="pkg-config"
hostmakedepends="automake libtool pkg-config"
makedepends="eudev-libudev-devel libusb-devel" makedepends="eudev-libudev-devel libusb-devel"
depends="hwids" depends="hwids"
short_desc="Linux USB utilities" short_desc="Linux USB utilities"
@ -13,10 +12,14 @@ license="GPL-2.0-only"
homepage="https://github.com/gregkh/usbutils" homepage="https://github.com/gregkh/usbutils"
changelog="https://raw.githubusercontent.com/gregkh/usbutils/master/NEWS" changelog="https://raw.githubusercontent.com/gregkh/usbutils/master/NEWS"
distfiles="${KERNEL_SITE}/utils/usb/usbutils/usbutils-${version}.tar.xz" distfiles="${KERNEL_SITE}/utils/usb/usbutils/usbutils-${version}.tar.xz"
checksum=a6a25ffdcf9103e38d7a44732aca17073f4e602b92e4ae55625231a82702e05b checksum=83f68b59b58547589c00266e82671864627593ab4362d8c807f50eea923cad93
replaces="usbhid-dump<=1.4_1" replaces="usbhid-dump<=1.4_1"
post_install() { post_install() {
# Remove lsusb.py - avoid useless python scripts # Remove lsusb.py - avoid useless python scripts
rm -f ${DESTDIR}/usr/bin/lsusb.py rm ${DESTDIR}/usr/bin/lsusb.py
rm ${DESTDIR}/usr/share/man/man1/lsusb.py.1
# add usbreset, upstream doesn't install it by default
vbin build/usbreset
vman man/usbreset.1
} }