1 pkgname=xmonad-log-applet-gnome-git
4 pkgdesc="An applet that will display Xmonad log information (GNOME3)"
6 url="https://github.com/alexkay/xmonad-log-applet"
8 depends=('gnome-panel>=3.0.0')
9 makedepends=('git' 'make' 'gnome-panel>=3.0.0')
11 _gitroot="git://github.com/alexkay/xmonad-log-applet.git"
12 _gitname="xmonad-log-applet"
16 msg "Connecting to GIT server...."
18 if [ -d $_gitname ] ; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone $_gitroot $_gitname
25 msg "GIT checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_gitname-build"
29 git clone -l "$srcdir/$_gitname" "$srcdir/$_gitname-build"
30 cd "$srcdir/$_gitname-build"
32 ./autogen.sh --with-panel=gnome3
34 make DESTDIR=$pkgdir install
36 rm -rf "$srcdir/$_gitname-build"