summaryrefslogtreecommitdiff
path: root/extra/evolution-webcal/PKGBUILD
blob: 5fd841ba16b7be9af48391b0a96b3be1caf1cdf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 92013 2010-09-28 16:50:49Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=evolution-webcal
pkgver=2.32.0
pkgrel=1
pkgdesc="Evolution Web calendar"
arch=(i686 x86_64)
license=('GPL')
install=evolution-webcal.install
url="http://www.ximian.com"
depends=('evolution-data-server>=2.32.0')
makedepends=('intltool' 'pkgconfig' 'evolution>=2.32.0')
groups=('gnome-extra')
options=(!emptydirs)
source=(http://ftp.acc.umu.se/pub/GNOME/sources/evolution-webcal/2.32/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('b6ae8a105665771c4069be96d67e0c10f13e01417805cb3a1900c397c9bd580c')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --libexecdir=/usr/lib/evolution-webcal \
      --localstatedir=/var
  make
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain evolution-webcal ${pkgdir}/etc/gconf/schemas/*.schemas
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}