1 # Maintainer: kfgz <kfgz at interia dot pl>
2 # Contributor: Judd <jvinet at zeroflux dot org>
3 # Contributor: Elia Yehuda <z4ziggy at user-contributions dot org>
8 pkgdesc="lists hardware and approp modules"
10 url="http://user-contributions.org/projects/lshwd/"
12 depends=('pciutils' 'usbutils' 'libusb')
13 source=(http://user-contributions.org/projects/lshwd/source/${pkgname}-${pkgver}.tar.gz
14 lshwd-1.1.3-fixes.patch
20 md5sums=('493ae06aada341f0bde063aab3c4167f' '79d53c1d8bc4feedf847dc6048643bec'\
21 '42d52005cce7b05c528d07424313769e' 'bf672bb7288d67ec5bc1502390d810ca'\
22 '93099e0be779545b0b82b880293b7a7f' 'f0819596a4d9ee67c728f40c0a78d662'\
23 '244b6b223b42b36a22040cc1c453509c')
26 cd ${srcdir}/${pkgname}-${pkgver}
27 patch -Np1 -i ${srcdir}/lshwd-1.1.3-fixes.patch
29 cp ${srcdir}/{pci,pcmcia,usb}table .
35 install -D -m755 hwd ${pkgdir}/etc/rc.d/hwd
36 install -D -m755 ${srcdir}/${pkgname}-${pkgver}/lshwd ${pkgdir}/usr/bin/lshwd
37 install -D -m644 pcitable ${pkgdir}/usr/share/hwdata/pcitable
38 install -D -m644 usbtable ${pkgdir}/usr/share/hwdata/usbtable
39 install -D -m644 pcmciatable ${pkgdir}/usr/share/hwdata/pcmciatable
40 install -D -m644 Cards ${pkgdir}/usr/share/hwdata/Cards
43 # for latest table/Cards files checkout hwd site :
44 # http://user-contributions.org/projects/lshwd/tables/