1 # Maintainer: György Balló <ballogy@freestart.hu>
6 pkgdesc="Menu editor for GNOME"
8 url="http://git.gnome.org/browse/alacarte/"
10 depends=(python2-gobject gnome-menus2 gnome-panel hicolor-icon-theme xdg-utils)
11 makedepends=(git gnome-common intltool)
14 install=$_pkgname.install
15 source=(no-pygtk.patch)
16 md5sums=(c7038f4adc2066b796713e53a67856e2)
18 _gitroot="git://git.gnome.org/alacarte"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
43 patch -Np1 -i "$srcdir/no-pygtk.patch"
45 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
46 PYTHON=/usr/bin/python2
51 cd "$srcdir/$_gitname-build"
53 make DESTDIR="$pkgdir/" install