# Maintainer: 
pkgname=dmidecode
pkgver=3.2
pkgrel=0
pkgdesc="Utility for gathering information about system hardware"
url="http://www.nongnu.org/dmidecode"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
subpackages="$pkgname-doc"
source="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-$pkgver.tar.xz
	"

build() {
	cd "$builddir"
	make prefix=/usr
}

package() {
	cd "$builddir"
	make prefix=/usr DESTDIR="${pkgdir}" install
}

sha512sums="b080c73fbda756109f0f29935c641e0b32ea9ffe90f0a8254164c9c1ff5617d042347298e6bac31e5463e94fa56efe2b2743238156d878254fc77120e6dc1a18  dmidecode-3.2.tar.xz"