updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / evolution-plugins-experimental / PKGBUILD
blob957091ceff015244a9e3ee1d4ec123b58d0c26e0
1 # Maintainer: Ng Oon-Ee <ngoonee.talk@gmail.com>
3 pkgname=evolution-plugins-experimental
4 _pkgname=evolution
5 pkgver=3.2.3
6 pkgrel=1
7 pkgdesc="Additional experimental (unmaintained) plugins for Gnome Evolution - external-editor"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=("evolution=$pkgver")
11 makedepends=('gnome-doc-utils' 'intltool') 
12 options=('!libtool' '!emptydirs')
13 url=http://www.gnome.org/projects/evolution/
14 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz)
15 sha256sums=('a25d523e775c022ec9e68d7b989316e7252b687d70b9db2f60b72bb833099e9d')
17 build() {
18   cd "${srcdir}/${_pkgname}-${pkgver}"
19   ./configure --prefix=/usr --sysconfdir=/etc \
20       --localstatedir=/var \
21       --libexecdir=/usr/lib \
22       --disable-scrollkeeper \
23       --enable-nss=yes \
24       --with-openldap=yes \
25       --enable-smime=yes \
26       --with-krb5=/usr \
27       --disable-image-inline --disable-goa
28   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
29   make
30   cd ${srcdir}/${_pkgname}-${pkgver}/plugins/external-editor
31   make
32   make DESTDIR="${pkgdir}" install