1 # $Id: PKGBUILD 78916 2010-04-29 13:25:20Z ibiru $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Desktop note-taking application for Linux and Unix"
10 url="http://www.gnome.org/projects/tomboy/"
11 depends=('gtkspell' 'gmime>=2.4.15' 'ndesk-dbus-glib>=0.4.1' 'gnome-sharp>=2.24.1' 'mono-addins>=0.4' 'libsm' 'gnome-desktop-sharp>=2.26.0' 'hicolor-icon-theme')
12 makedepends=('intltool' 'pkgconfig' 'gnome-panel>=2.30.0' 'gnome-doc-utils>=0.20.0')
13 options=('!libtool' '!emptydirs')
14 install=${pkgname}.install
16 _gitroot="git://git.gnome.org/tomboy"
21 export MONO_SHARED_DIR=${srcdir}/.wabi
22 mkdir -p ${MONO_SHARED_DIR}
25 if [ -d ${_gitname} ]; then
29 git clone ${_gitroot} ${_gitname}
32 rm -rf ${srcdir}/${_gitname}-build
33 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
34 cd ${srcdir}/${_gitname}-build
36 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-scrollkeeper --disable-update-mimedb
37 # override makepkg.conf - don't build with -j >1
39 make DESTDIR=${pkgdir} GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
41 install -m755 -d ${pkgdir}/usr/share/gconf/schemas
42 gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas --domain tomboy /etc/gconf/schemas/*.schemas
43 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas