void-packages/srcpkgs/hwids/template

20 lines
456 B
Bash

# 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@voidlinux.eu>"
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
}