1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
3 pkgname=gnome-globalmenu
6 pkgdesc="Global Menu Bar for GNOME"
7 url="http://code.google.com/p/gnome2-globalmenu/"
9 license=('GPL2' 'GPL3')
10 depends=('gnome-panel' 'libnotify' 'gnome-panel-bonobo')
11 makedepends=('vala>=0.6' 'libtool' 'pkgconfig' 'intltool')
14 conflicts=('gtk2-aqd' 'gtk2-globalmenu' 'gnome-globalmenu-svn')
15 install=gnome-globalmenu.install
16 source=("http://gnome2-globalmenu.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
17 md5sums=('62d0ec181c7d7821f753591626b64d2f')
20 cd ${srcdir}/${pkgname}-${pkgver}
22 ./configure --prefix=/usr --disable-tests --without-gnome-panel --without-xfce4-panel --sysconfdir=/etc --libexecdir=/usr/lib
27 cd ${srcdir}/${pkgname}-${pkgver}
28 make DESTDIR=${pkgdir} GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1
30 install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
31 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
32 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas