void-packages/srcpkgs/hwids/template
2014-06-24 12:44:28 +02:00

19 lines
474 B
Text

# Template file for 'hwids'
pkgname=hwids
version=20140602
revision=1
noarch=yes
create_wrksrc=yes
replaces="pciutils<3.1.9_1 usbutils<005_1"
short_desc="Hardware Identification Databases"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/gentoo/hwids"
license="GPL-2"
do_fetch() {
git clone -b hwids-${version} git://github.com/gentoo/hwids hwids-${version}
}
do_install() {
vmkdir usr/share/hwdata
install -m644 *.ids ${DESTDIR}/usr/share/hwdata
}