summaryrefslogtreecommitdiff
path: root/extra/evolution-webcal
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/evolution-webcal
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/evolution-webcal')
-rw-r--r--extra/evolution-webcal/PKGBUILD30
-rw-r--r--extra/evolution-webcal/evolution-webcal.install17
2 files changed, 47 insertions, 0 deletions
diff --git a/extra/evolution-webcal/PKGBUILD b/extra/evolution-webcal/PKGBUILD
new file mode 100644
index 000000000..5fd841ba1
--- /dev/null
+++ b/extra/evolution-webcal/PKGBUILD
@@ -0,0 +1,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
+}
diff --git a/extra/evolution-webcal/evolution-webcal.install b/extra/evolution-webcal/evolution-webcal.install
new file mode 100644
index 000000000..67e4861ce
--- /dev/null
+++ b/extra/evolution-webcal/evolution-webcal.install
@@ -0,0 +1,17 @@
+pkgname=evolution-webcal
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}