# Contributor: Francesco Colista # Maintainer: Nathan Angelacos pkgname=flashrom pkgver=1.1 pkgrel=0 pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips" url="https://www.flashrom.org/Flashrom" arch="all" license="GPL" depends=dmidecode makedepends="pciutils-dev libusb-compat-dev linux-headers" subpackages="$pkgname-doc" install="$pkgname.post-install" options="!check" # no test suite source="https://download.flashrom.org/releases/flashrom-v${pkgver}.tar.bz2 musl-ffs.patch " builddir="$srcdir"/$pkgname-v${pkgver} build() { cd "$builddir" make PREFIX=/usr/ } package() { cd "$builddir" make PREFIX="$pkgdir/usr/" install } sha512sums="8cb75a7223490fa9dbd65a85d24a87beab68ee03120891a3d8ebf4e8bc3d2a2ee640e254ccff657eaf5175e6c2477288337369fa1b1dac110a0903b0c95c1e56 flashrom-v1.1.tar.bz2 371131e37ee0f2ce31b5dd264707b91817a2f0a3654943e6b3430df862d4bb64f27117c1c94276cb447f5b45f1771b9997f9c96423d68c6dd4565c1e1f442a5e musl-ffs.patch"