usbutils: update to 015.

This commit is contained in:
icp 2022-12-26 21:33:32 +05:30 committed by Leah Neukirchen
parent ffca711fb9
commit 12a4ed7a7e

View File

@ -1,7 +1,7 @@
# Template file for 'usbutils'
pkgname=usbutils
version=014
revision=2
version=015
revision=1
build_style=gnu-configure
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
hostmakedepends="automake libtool pkg-config"
@ -13,14 +13,10 @@ license="GPL-2.0-only"
homepage="https://github.com/gregkh/usbutils"
changelog="https://raw.githubusercontent.com/gregkh/usbutils/master/NEWS"
distfiles="${KERNEL_SITE}/utils/usb/usbutils/usbutils-${version}.tar.xz"
checksum=3a079cfad60560227b67192482d7813bf96326fcbb66c04254839715f276fc69
checksum=c3b451bb1f4ff9f6356cac5a6956a9ac8e85d81651af56a29e689f94fa6fda6e
replaces="usbhid-dump<=1.4_1"
post_install() {
# Remove lsusb.py - avoid useless python scripts
rm -f ${DESTDIR}/usr/bin/lsusb.py
# Remove usb ids - provided by hwids
rm -rf ${DESTDIR}/usr/share/hwdata
# Remove update-usbids.sh - handled by hwids
rm -f ${DESTDIR}/usr/sbin/update-usbids.sh
}