1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
8 pkgdesc="An interface for quick and convenient access to applications and their documents"
10 url="http://kaizer.se/wiki/kupfer/"
12 depends=('pyxdg' 'pygtk' 'dbus-python' 'python2-gconf' 'python-keybinder'
13 'hicolor-icon-theme' 'desktop-file-utils')
14 optdepends=('gnome-python-desktop: enables all plugins and gnome integration'
15 'python-appindicator: ubuntu-style notification icon'
16 'python-keyring: gnome keyring integration'
17 'python-wnck: tracks running applications'
18 'python2-setproctitle: set process name'
19 'python-gdata: google services')
20 makedepends=('git' 'gnome-doc-utils' 'docutils')
23 install="$pkgname.install"
24 source=("http://waf.googlecode.com/files/waf-$_wafver")
25 md5sums=('b0f4b73b30c024ccb9c804a437c0faad')
27 _gitroot="git://git.gnome.org/kupfer"
32 msg "Connecting to GIT server...."
34 if [ -d $_gitname ] ; then
35 cd $_gitname && git pull origin
36 msg "The local files are updated."
38 git clone $_gitroot $_gitname
41 msg "GIT checkout done or server timeout"
42 msg "Starting make..."
44 rm -rf "$srcdir/$_gitname-build"
45 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
46 cd "$srcdir/$_gitname-build"
53 cp ../waf-$_wafver waf
56 export PYTHON="/usr/bin/python2"
58 python2 waf configure --prefix=/usr \
60 --no-update-icon-cache
65 cd "$srcdir/$_gitname-build"
67 python2 waf install -f --destdir="$pkgdir/"