updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tomboy-git / PKGBUILD
blob42c71b47aaa6d06410e5a933da5ca2485b153803
1 # $Id: PKGBUILD 78916 2010-04-29 13:25:20Z ibiru $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=tomboy-git
5 pkgver=20100905
6 pkgrel=1
7 pkgdesc="Desktop note-taking application for Linux and Unix"
8 arch=('i686' 'x86_64')
9 license=('GPL')
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"
17 _gitname="tomboy"
20 build() {
21   export MONO_SHARED_DIR=${srcdir}/.wabi 
22   mkdir -p ${MONO_SHARED_DIR}
24   cd ${srcdir}
25   if [ -d ${_gitname} ]; then
26     cd  ${_gitname} 
27     git pull origin
28   else
29     git clone ${_gitroot} ${_gitname}
30   fi
32   rm -rf ${srcdir}/${_gitname}-build
33   git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
34   cd ${srcdir}/${_gitname}-build
35   
36   ./autogen.sh --prefix=/usr --sysconfdir=/etc  --localstatedir=/var --disable-scrollkeeper --disable-update-mimedb 
37   # override makepkg.conf - don't build with -j >1  
38   make -j1 
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