# Template file for 'hwids'
pkgname=hwids
version=20190316
revision=1
archs=noarch
wrksrc="hwids-hwids-${version}"
short_desc="Hardware Identification Databases"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/gentoo/hwids"
distfiles="https://github.com/gentoo/hwids/archive/hwids-${version}.tar.gz"
checksum=e4498020b2c1a1ea5faf1e9d30bda0ae161aaf8e8fb17f40e1c6b8dc896c5d9e

do_install() {
	vmkdir usr/share/hwdata
	install -m644 *.ids ${DESTDIR}/usr/share/hwdata
}
