summaryrefslogtreecommitdiff
path: root/hwdata/PKGBUILD
blob: 386e2197fa55f2a2495ec07a2ac90b7bfb7896aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
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')