updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / planner / PKGBUILD
blob30564a32d02a823cc7372bffc826b6d2cfebd9a3
1 # Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
2 # Contributor: herb <herb@archlinux.org>
3 # Contributor: Jan de Groot <jgc@archlinux.org>
5 pkgname=planner
6 pkgver=0.14.6
7 pkgrel=1
8 pkgdesc="Gnome Project Management System"
9 arch=('i686' 'x86_64')
10 url="http://live.gnome.org/Planner"
11 license=('GPL')
12 depends=('evolution-data-server' 'python2' 'libgnomeui' 'libxslt' 'desktop-file-utils' 'hicolor-icon-theme' 'pygtk' 'gtk2' 'gnome-doc-utils' 'gnome-vfs' 'libgnomecanvas' 'gconf' 'libxml2' 'libglade')
13 makedepends=('pkg-config' 'intltool')
14 options=('!libtool' '!makeflags' '!emptydirs')
15 install=planner.install
16 source=(http://ftp.gnome.org/pub/GNOME/sources/planner/${pkgver%.*}/planner-${pkgver}.tar.xz)
17 md5sums=('605c589f2c9ec695df0ae79aed3e2e3b')
19 build() {
20         cd "${srcdir}/${pkgname}-${pkgver}"
21         
22         export PYTHON=/usr/bin/python2
23         
24         ./configure --prefix=/usr --sysconfdir=/etc \
25                         --localstatedir=/var --disable-update-mimedb \
26                         --enable-python --enable-eds
27         make
30 package() {
31         cd "${srcdir}/${pkgname}-${pkgver}"
32         
33         make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
34         install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
35         gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain planner ${pkgdir}/etc/gconf/schemas/*.schemas
36         rm -f ${pkgdir}/etc/gconf/schemas/*.schemas