void-packages/srcpkgs/hwids/template
2014-11-12 09:02:54 +01:00

20 lines
496 B
Text

# Template file for 'hwids'
pkgname=hwids
version=20141030
revision=1
noarch=yes
create_wrksrc=yes
hostmakedepends="git"
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
}