# Contributor: # Maintainer: Nathan Angelacos pkgname=flashrom pkgver=0.9.5.2 pkgrel=0 pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips" url="http://www.flashrom.org/Flashrom" arch="all" license="GPL" depends=dmidecode makedepends=pciutils-dev subpackages="$pkgname-doc" install="$pkgname.post-install" source="http://download.flashrom.org/releases/flashrom-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" make PREFIX=/usr/ || return 1 } package() { cd "$_builddir" make PREFIX="$pkgdir/usr/" install } md5sums="280f8b1d3ef0533d6ec913b0da857477 flashrom-0.9.5.2.tar.bz2"