updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / flashrom-svn / PKGBUILD
blob90adb0d8f8b95b59e00f0f0a9db7379eb52e760f
1 # Contributor: fill <mailbox@fillo.ru>
3 pkgname=flashrom-svn
4 pkgver=701
5 pkgrel=1
6 pkgdesc="Flashrom is a utility which can be used to detect, read, erase, or write BIOS chips (DIP, PLCC, SPI)."
7 url="http://www.coreboot.org/Flashrom"
8 arch=('i686' 'x86_64')
9 provides=('flashrom' 'flashrom-svn')
10 conflicts=('flashrom' 'flashrom-svn')
11 replaces=('flashrom' 'flashrom-svn')
12 license=('GPL')
13 makedepends=('zlib' 'pciutils' 'subversion')
14 install=$pkgname.install
15 source=($pkgname.install)
16 md5sums=('6aec5d8249bfb10005ee1da9cf91102f')
18 _svntrunk=svn://coreboot.org/flashrom/trunk
19 _svnmod=flashrom
21 build() {
22     cd $srcdir
24     svn co $_svntrunk $_svnmod
25     msg "SVN checkout done or server timeout"
27     msg "Starting make..."
28     cp -r $_svnmod $_svnmod-build
29     cd $_svnmod-build
31     make || return 1
33     mkdir -p $pkgdir/usr/bin
34     install -D -m755  flashrom $pkgdir/usr/bin