PKGBUILDs/extra/evolution-webcal/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1.1 KiB
Bash

# $Id: PKGBUILD 30919 2009-03-22 19:07:34Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=evolution-webcal
pkgver=2.26.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.26.0')
makedepends=('intltool' 'pkgconfig' 'evolution>=2.26.0')
groups=('gnome-extra')
options=(!emptydirs)
source=(http://ftp.acc.umu.se/pub/GNOME/sources/evolution-webcal/2.26/${pkgname}-${pkgver}.tar.bz2)
md5sums=('a36036a94dd043f57a6d84ab9b6c732c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/evolution-webcal \
--localstatedir=/var || return 1
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
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 || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}