1 # Maintainer: PyrO_70 <brieuc.roblin at gmail dot com>
2 pkgname=batterysystemtray-git
5 pkgdesc="A simple battery monitor in the system tray using UPower, in Qt."
7 url="http://www.pyrotools.org/"
9 depends=('qt' 'upower')
10 optdepends=('ucpufreq-git: Chosing governor/frequency per cpu')
12 replaces=('batterysystemtray-svn')
14 _gitroot="git://gitorious.org/ptbatterysystemtray/ptbatterysystemtray.git"
15 _gitname="ptbatterysystemtray"
20 msg2 "Connecting to GIT server..."
22 if [ -d $_gitname ] ; then
23 ( cd $_gitname && git pull )
25 git clone $_gitroot $_gitname
30 msg2 "Starting make..."
31 qmake "INSTALL_PREFIX=/usr"
36 cd "$srcdir/$_gitname"
38 make "INSTALL_ROOT=$pkgdir" install