summaryrefslogtreecommitdiff
path: root/community/flashrom/PKGBUILD
blob: 442622f79cfd8ecd0011c3ddf7c120890a187385 (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
# $Id: PKGBUILD 52890 2011-07-29 17:53:33Z giovanni $
# 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.4
pkgrel=1
pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips"
url="http://www.coreboot.org/Flashrom"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libftdi')
makedepends=('zlib' 'pciutils')
source=("http://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2")
md5sums=('d739a91aece12cc1e622038bb199541c')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make PREFIX="${pkgdir}/usr" install
}