# $Id: PKGBUILD 66659 2012-02-27 00:56:28Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Cilyan Olowen # Contributor: fill # Contributor: Anton Shestakov pkgname=flashrom pkgver=0.9.5.1 pkgrel=1 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips" url="http://www.flashrom.org/" arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('libftdi' 'pciutils') [ "$CARCH" != "mips64el" ] && optdepends=('dmidecode: for SMBIOS/DMI table decoder support') source=("http://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2") md5sums=('3b82658d71fb852aa45001cdf5f3e013') build() { cd "${srcdir}/${pkgname}-${pkgver}" make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make PREFIX="${pkgdir}/usr" install }