updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ectool / PKGBUILD
blob0b454390c13ab903ede680bb1cfa1069b2291d0f
1 # Maintainer: Alec Ari <neotheuser@ymail.com>
3 pkgname=ectool
4 pkgver=9999
5 pkgrel=1
6 pkgdesc="ectool is a small utility that dumps the RAM of a laptop's Embedded/Environmental Controller (EC)."
7 url="http://www.coreboot.org/Ectool"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 makedepends=('subversion')
12 build() {
13     cd $srcdir
14 if [ -d ectool ] ; then
15     cd ectool
16     svn update
17     make PREFIX=/usr || return 1
18     cp -PR ectool $pkgdir/usr/bin
19 else
20     svn co svn://coreboot.org/coreboot/trunk/util/ectool
21     cd ectool
22     make PREFIX=/usr || return 1
23     mkdir -p $pkgdir/usr/bin
24     cp -PR ectool $pkgdir/usr/bin