1 # Maintainer: Grigorios Bouzakis <grbzks@xsmail.com>
5 pkgdesc="CPU power utilities"
7 url="http://gitorious.org/cpupowerutils"
11 provides=('cpufrequtils')
12 conflicts=('cpufrequtils')
13 options=('!makeflags')
15 _gitroot="git://gitorious.org/cpupowerutils/cpupowerutils.git"
16 _gitname="cpupowerutils"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname -b cpupowerutils
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf $srcdir/$_gitname-build
33 git clone $srcdir/$_gitname $srcdir/$_gitname-build
34 cd $srcdir/$_gitname-build
42 cd $srcdir/$_gitname-build
46 make INSTALL=/bin/install mandir=/usr/share/man DESTDIR=$pkgdir install
49 # vim:set ts=2 sw=2 et: