1 # Maintainer: Matthias Kühlke <mad+arch atdomain unserver dot de>
5 pkgdesc="A small start menu application."
7 url="http://mad.unserver.de/2010/xmonad/xmenud/"
10 depends=('pygtk' 'pyxdg' 'gnome-menus' 'python2')
18 #source=($pkgname-$pkgver.tar.gz)
21 md5sums=() #generate with 'makepkg -g'
23 _gitroot="http://mad.unserver.de/REPOS/xmenud.git"
28 msg "Connecting to GIT server...."
30 if [ -d $_gitname ] ; then
31 cd $_gitname && git pull origin
32 msg "The local files are updated."
34 git clone $_gitroot $_gitname
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
41 # what can possibly go wrong...
42 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" xmenud.py
43 mkdir -p "$pkgdir/usr/bin/" || return 1
44 cp xmenud.py "$pkgdir/usr/bin/xmenud" || return 1