# Maintainer: Tobias Powalowski pkgname=hwdata pkgver=0.393 pkgrel=1 pkgdesc="hardware identification databases" makedepends=('git') replaces=('hwids') url=https://github.com/vcrhonek/hwdata license=('GPL-2.0-or-later') arch=('any') source=("git+https://github.com/vcrhonek/hwdata.git#tag=v${pkgver}") validpgpkeys=('3C40194FB79138CE0F78FD4919C2F062574F5403') # Vitezslav Crhonek b2sums=('c7ebe6f96283123816adfa4d40a416b125f5f782646683575182de077523abe4c4505d10df3f5cf3e484675ceb05b78a6e0b58b8e40b5803129ea8d9721092e5') build() { cd ${pkgname} ./configure --prefix=/usr --disable-blacklist } package() { cd ${pkgname} [ -f /usr/share/hwdata/iab.txt ] && rm /usr/share/hwdata/iab.txt [ -f /usr/share/hwdata/oui.txt ] && rm /usr/share/hwdata/oui.txt [ -f /usr/share/hwdata/pci.ids ] && rm /usr/share/hwdata/pci.ids [ -f /usr/share/hwdata/usb.ids ] && rm /usr/share/hwdata/usb.ids make DESTDIR="${pkgdir}" install } sha512sums=('SKIP')