void-packages/srcpkgs/hwids/template

21 lines
496 B
Plaintext

# Template file for 'hwids'
pkgname=hwids
version=20141118
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
}