void-packages/srcpkgs/hwids/template

20 lines
453 B
Plaintext

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