# $Id: PKGBUILD 19656 2008-11-28 20:25:40Z jgc $
# Maintainer: Jan de Groot <jan@archlinux.org>

pkgname=gnome-menus
pkgver=2.24.2
pkgrel=1
pkgdesc="GNOME menu specifications"
arch=(i686 x86_64)
depends=('pygtk>=2.13.0')
makedepends=('pkgconfig' 'intltool')
options=('!libtool' '!makeflags')
license=('GPL' 'LGPL')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2
	menus.patch)
md5sums=('ca8e25b031fd7024b3f9abe1c6865d2c' '37b1021887f60a9cead67172e51a3a18')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np0 -i "${srcdir}/menus.patch" || return 1
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var \
	      --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}