From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/evolution-exchange/PKGBUILD | 30 ++++++++++++++++++++++ .../evolution-exchange/evolution-exchange.install | 17 ++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 extra/evolution-exchange/PKGBUILD create mode 100644 extra/evolution-exchange/evolution-exchange.install (limited to 'extra/evolution-exchange') diff --git a/extra/evolution-exchange/PKGBUILD b/extra/evolution-exchange/PKGBUILD new file mode 100644 index 000000000..fa4905ccd --- /dev/null +++ b/extra/evolution-exchange/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 109554 2011-02-10 19:19:29Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=evolution-exchange +pkgver=2.32.2 +pkgrel=1 +pkgdesc="Ximian Connector Exchange plugin for Evolution" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.ximian.com" +depends=('evolution-data-server>=2.32.2' 'gtkhtml>=3.32.2' 'gnome-desktop>=2.32.0' 'libunique>=1.1.6') +makedepends=('intltool' 'evolution') +options=('!libtool' '!emptydirs') +groups=('gnome-extra') +install=evolution-exchange.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('60030eb2de042cef1d703cda7d64c3ec87fcef0bd966012e816954a96cc37d63') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/lib/evolution --disable-static \ + --with-libdb=/usr --with-krb5=/usr + make + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain evolution-exchange-${_majorver} ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/evolution-exchange/evolution-exchange.install b/extra/evolution-exchange/evolution-exchange.install new file mode 100644 index 000000000..1179887f9 --- /dev/null +++ b/extra/evolution-exchange/evolution-exchange.install @@ -0,0 +1,17 @@ +pkgname=evolution-exchange + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} -- cgit v1.2.3-54-g00ecf