updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / indicator-cpufreq-bzr / PKGBUILD
blob5546f47e9525f9f8983187a51732c11d87a375a4
1 # Maintainer: Michal Gawronski <dinth1906@gmail.com>
2 # Maintainer: Paul Burton <paulburton89@gmail.com>
3 # Contributor: max.bra <max.bra at alice dot it>
5 pkgname=indicator-cpufreq-bzr
6 pkgbranch=trunk
7 pkgver=9
8 pkgrel=1
9 pkgdesc="CPU frequency indicator."
10 arch=('i686' 'x86_64')
11 url="https://launchpad.net/indicator-cpufreq"
12 license=('GPL')
13 depends=('ayatana-indicators-baselibs' 'cpufrequtils')
14 source=()
15 md5sums=()
17 _bzrbranch=lp:indicator-cpufreq
18 _bzrmod=indicator-cpufreq
20 build() {
21    cd ${srcdir}
23   msg "Connecting to the server...."
25   if [ ! -d ./${_bzrmod} ]; then
26     bzr co ${_bzrbranch} ${_bzrmod}
27   else
28     bzr up ${_bzrmod}
29   fi
31   msg "BZR checkout done or server timeout"
32   msg "Starting make..."
34   cd ${_bzrmod}
35   mkdir ${pkgdir}/usr
36   python2 ./setup.py build
37   python2 ./setup.py install --prefix=${pkgdir}/usr