updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / gnome-globalmenu / PKGBUILD
blob9f01a11dfe5805a9a8422ecbbe941506765a8236
1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
3 pkgname=gnome-globalmenu
4 pkgver=0.7.10
5 pkgrel=2
6 pkgdesc="Global Menu Bar for GNOME"
7 url="http://code.google.com/p/gnome2-globalmenu/"
8 arch=('i686' 'x86_64')
9 license=('GPL2' 'GPL3')
10 depends=('gnome-panel' 'libnotify' 'gnome-panel-bonobo')
11 makedepends=('vala>=0.6' 'libtool' 'pkgconfig' 'intltool')
12 optdepends=()
13 options=('!libtool')
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')
19 build() {
20     cd ${srcdir}/${pkgname}-${pkgver}
21     export LDFLAGS=""
22     ./configure --prefix=/usr --disable-tests --without-gnome-panel --without-xfce4-panel --sysconfdir=/etc --libexecdir=/usr/lib 
23     make || return 1
26 package(){
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