# $Id: PKGBUILD 19464 2008-11-23 22:53:14Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=dmidecode
pkgver=2.10
pkgrel=1
pkgdesc="Desktop Management Interface table related utilities"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/dmidecode"
license=('GPL')
depends=('glibc')
source=(http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3c9c4d55a40b78600f3b43bfa64616f9')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  make prefix=/usr || return 1
  make prefix=/usr DESTDIR=${startdir}/pkg install
}