1 #Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
6 pkgdesc="Project management application"
8 url="http://live.gnome.org/Planner/"
10 depends=('gtk-doc' 'libgnomecanvas' 'libgnomeui' 'pygobject-git')
11 makedepends=('git' 'gnome-common' 'intltool')
14 options=(makeflags !emptydirs)
15 _gitroot="git://git.gnome.org/planner"
17 install=planner-git.install
22 msg "Connecting to the GNOME GIT server...."
23 if [[ -d ${srcdir}/${_gitname} ]] ; then
26 msg "The local files are updated..."
31 msg "GIT checkout done."
33 msg "Starting make for: ${pkgname}"
35 if [[ -d ${srcdir}/${_gitname}-build ]]; then
36 msg "Cleaning the previous build directory..."
37 rm -rf ${srcdir}/${_gitname}-build
40 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
42 cd ${srcdir}/${_gitname}-build
43 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" tests/python/task-test.py
45 export PYTHON=/usr/bin/python2
46 export CFLAGS=-Wno-error
47 ./autogen.sh --disable-update-mimedb --prefix=/usr || return 1
52 cd ${srcdir}/${_gitname}-build
53 make DESTDIR="${pkgdir}" install || return 1
54 msg "Updating mime database...."