author | Giovanni Scafora
<giovanni@archlinux.org> 2013-11-25 15:53:14 UTC |
committer | Giovanni Scafora
<giovanni@archlinux.org> 2013-11-25 15:53:14 UTC |
parent | 20abe85c3980bb7cab0dd5a1e899ff2793414f02 |
PKGBUILD | +8 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index 669b21a..6763bc2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,20 +5,25 @@ pkgname=flashrom pkgver=0.9.7 -pkgrel=1 +pkgrel=2 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips" url="http://www.flashrom.org/" arch=('i686' 'x86_64') license=('GPL') -depends=('libftdi' 'pciutils') +depends=('libftdi-compat' 'pciutils') optdepends=('dmidecode: for SMBIOS/DMI table decoder support') source=("http://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2") md5sums=('d239bafa1b46619d851f70f84a5b122a') +prepare() { +cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i "s:sbin:bin:g" Makefile +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" - sed -i "s:sbin:bin:g" Makefile make }