# Packager = Tuxcore <dev@tuxcore.org> pkgname=hwdata
pkgver=0.390
pkgrel=1
pkgdesc="hardware identification databases"
makedepends=('git')
replaces=('hwids')
url=https://github.com/vcrhonek/hwdata
license=('GPL-2.0-or-later')
arch=('any')
source=("git+https://github.com/vcrhonek/hwdata.git#tag=v${pkgver}?signed")
validpgpkeys=('3C40194FB79138CE0F78FD4919C2F062574F5403') # Vitezslav Crhonek
b2sums=('692873376a17e5942af7b105a088a9e1f1d402607c8b42555f3345d59b6a8c1972a484dadb78c0e3ab22b21a84cc38b70e800a96e208691486c2362fee45c4c1')

build() {
  cd ${pkgname}
  ./configure --prefix=/usr --disable-blacklist
}

package() {
  cd ${pkgname}
  make DESTDIR="${pkgdir}" install
}
