# Compiling Time: 0.05 SBU
# Contributor: bouleetbil <bouleetbil@frogdev.info>
# Maintainer: DeX77 <dex77@frugalware.org>

pkgname=hwdata
pkgver=20210613
pkgrel=1
pkgdesc="Hardware identification and configuration data"
depends=('kmod>=25-2')
makedepends=('pciutils>=3.4.0' 'ca-certificates' 'pkgconfig' 'systemd')
groups=('base' 'core')
archs=('x86_64')
removes=('/etc/udev/hwdb.bin')
_F_github_author=gentoo
_F_github_name=hwids
_F_github_dirname=hwids
_F_github_tag=y
_F_github_ver="hwids-${pkgver}"
Finclude github
sha1sums=('a24284fee17bfb967bc7714f3b14d1d9b509295b')
_F_make_opts="UDEV=yes"
_F_cd_path="${_F_github_name}-${_F_github_name}-$pkgver"

build() {
	Fcd
	Fsed 'misc' 'hwdata' Makefile
	Fbuild
	Frm usr/share/doc/hwids/
}

# optimization OK
