1 # Maintainer: Miguel Useche <migueluseche@skatox.com>
2 # Contributor: Anton Leontiev <unsector /at/ km.ru>
6 pkgdesc="Top-down terminal for Gnome"
8 url="http://guake.org/"
10 depends=('python2' 'pygtk' 'pyxdg' 'gnome-python' 'vte' 'python-notify' 'dbus-python' 'pkgconfig' 'gtk2' 'glib2')
11 makedepends=('git' 'intltool' 'gnome-common')
12 source=('http://guake.org/raw-attachment/ticket/124/multi-monitor.patch')
13 sha1sums=('7df232eca689204d0a26b6bdfc6df4f95d71e6a8')
16 _gitroot="git://gitorious.org/guake/guake.git"
20 sed -i 's|guake\.py|guake|' multi-monitor.patch
23 msg "Connecting to GIT server...."
25 if [ -d $srcdir/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
35 cd $srcdir/$_gitname-build
37 patch -Np1 -i "${srcdir}/multi-monitor.patch"
39 sed -i 's|env python|env python2|' src/guake-prefs
40 sed -i 's|env python|env python2|' src/guake
41 PYTHON="`which python2`" ./autogen.sh --prefix=/usr --sysconfdir=/usr/share --disable-static
42 make DESTDIR=$pkgdir install