1 # Maintainer: Daniele Iamartino <otacon22otaku@gmail.com>
5 pkgdesc="A POuL status icon in the tray bar. Shows if POuL is open"
9 depends=(python2 pygtk libnotify git)
10 _gitroot="git://github.com/Otacon22/poulstatus"
14 msg "Connecting to GIT server..."
15 if [[ -d $srcdir/${_gitname} ]]; then
16 cd ${srcdir}/${_gitname} && git pull origin || return 1
18 git clone $_gitroot ${srcdir}/${_gitname} || return 1
19 cd $srcdir/${_gitname}
21 msg "GIT checkout done or server timeout"
25 cd "$srcdir/$_gitname"
27 install -D poul.png "$pkgdir/usr/share/pixmaps/poul.png"
28 install -D poul_off.png "$pkgdir/usr/share/pixmaps/poul_off.png"
29 install -m 755 -D poul.py "$pkgdir/usr/bin/poulstatus"
30 install -m 744 -D poulstatus.desktop "$pkgdir/usr/share/applications/poulstatus.desktop"