blob: 925430b13f1c1c7ee54ac87740e5d27b9be6e1af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 102000 2013-12-03 16:51:55Z eric $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Cilyan Olowen <gaknar@gmail.com>
# Contributor: fill <mailbox@fillo.ru>
# Contributor: Anton Shestakov <engored*ya.ru>
pkgname=flashrom
pkgver=0.9.7
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-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}"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX="${pkgdir}/usr" install
}
|