updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gnome-python-desktop-all / PKGBUILD
bloba7ecdd3c939c908e6e604e1235ebecf4fb4f32ce
1 # Contributor: mathieui AT mathieui dot net
3 pkgname=gnome-python-desktop-all
4 _pkgname=gnome-python-desktop
5 pkgver=2.30.0
6 pkgrel=1
7 pkgdesc="Gnome Python interfaces for libraries not part of the core platform with python-metacity enabled"
8 arch=(i686 x86_64)
9 license=('GPL' 'LGPL')
10 depends=('gnome-desktop>=2.30.0' 'gnome-python>=2.28.0')
11 options=('!libtool')
12 makedepends=('intltool' 'pkgconfig' 'gnome-media>=2.30.0' 'gnome-panel>=2.30.0' 'gtksourceview>=1.8.5' 'libgnomeprintui>=2.18.5' 'libgtop>=2.28.1' 'totem-plparser>=2.30.0' 'evince' 'bug-buddy>=2.30.0' 'brasero>=2.30.0')
13 optdepends=('gnome-media' 'gnome-panel' 'gtksourceview' 'libgnomeprintui' 'libgtop' 'totem-plparser' 'evince' 'bug-buddy' 'brasero')
14 url="http://www.gnome.org"
15 provides=('python-metacity')
16 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/2.30/${_pkgname}-${pkgver}.tar.bz2)
17 sha256sums=('db997a3c81967d6dc7210dd83e06f18ac6417f804f672e42f15a1d68af371f49')
19 build() {
20   cd "${srcdir}/${_pkgname}-${pkgver}"
21   ./waf configure --prefix=/usr --enable-metacity|| return 1
22   ./waf build ${MAKEFLAGS} || return 1
23   ./waf install --destdir="${pkgdir}" || return 1
24   install -m644 gnomeprint/art.defs "${pkgdir}/usr/share/pygtk/2.0/defs/" || return 1