updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / superiotool / PKGBUILD
blob0d0c97e817466bd08ad3d929d0e3fbb2f6006f8f
1 # Maintainer: Alec Ari <neotheuser@ymail.com>
3 pkgname=superiotool
4 pkgver=9999
5 pkgrel=2
6 pkgdesc="It allows you to detect which Super I/O you have on your mainboard, and it can provide detailed information about the register contents of the Super I/O."
7 url="http://www.coreboot.org/Superiotool"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 makedepends=('subversion')
12 build() {
13     cd $srcdir
14 if [ -d superiotool ] ; then
15     cd superiotool
16     svn update
17     make PREFIX=/usr || return 1
18     cp -PR superiotool $pkgdir/usr/bin
19 else
20     svn co svn://coreboot.org/coreboot/trunk/util/superiotool superiotool
21     cd superiotool
22     make PREFIX=/usr || return 1
23     mkdir -p $pkgdir/usr/bin
24     cp -PR superiotool $pkgdir/usr/bin