summaryrefslogtreecommitdiff
path: root/community/flashrom/PKGBUILD
blob: 77539783c0e075de7da863ec377dd81a0ac51b0d (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
# $Id: PKGBUILD 38872 2011-02-02 16:42:39Z 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.3
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://qa.coreboot.org/releases/${pkgname}-${pkgver}.tar.bz2")
md5sums=('eccdec2764223f5d2839bf577380eaa9')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make || return 1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make PREFIX="${pkgdir}/usr" install || return 1
}