diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-23 22:45:08 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-23 22:45:08 -0600 |
commit | 7889a8fbe8a6738d492c93017eb989979c3159f6 (patch) | |
tree | a5fd2daf3b38dfd433f803be6533ca650d749056 /testing/evolution | |
parent | 6ee5b21ac9562bb2d461a94b173ced6ea5ff4991 (diff) | |
download | aports-7889a8fbe8a6738d492c93017eb989979c3159f6.tar.bz2 aports-7889a8fbe8a6738d492c93017eb989979c3159f6.tar.xz |
testing/evolution: new aport
Diffstat (limited to 'testing/evolution')
-rw-r--r-- | testing/evolution/APKBUILD | 44 | ||||
-rw-r--r-- | testing/evolution/evolution.post-install | 18 | ||||
-rw-r--r-- | testing/evolution/evolution.post-upgrade | 18 | ||||
-rw-r--r-- | testing/evolution/evolution.pre-deinstall | 18 |
4 files changed, 98 insertions, 0 deletions
diff --git a/testing/evolution/APKBUILD b/testing/evolution/APKBUILD new file mode 100644 index 000000000..428c37de3 --- /dev/null +++ b/testing/evolution/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=evolution +pkgver=2.32.1 +pkgrel=0 +pkgdesc="evolution mail client" +url="http://projects.gnome.org/evolution" +arch="all" +license="GPL" +depends="gnome-icon-theme" +depends_dev="gtk+-dev glib-dev libsoup-dev libxml2-dev gconf-dev libgdata-dev db-dev libgweather-dev libgnome-keyring-dev libical-dev nspr-dev nss-dev sqlite-dev evolution-data-server-dev + gnome-desktop-dev libunique-dev gtkhtml-dev gstreamer-dev gst-plugins-base-dev gtkimageview-dev openldap-dev" +makedepends="$depends_dev gperf flex bison" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-nm \ + --disable-pst-import \ + --disable-scrollkeeper || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="47c1d45366aaa69e79a320f351ef065d evolution-2.32.1.tar.bz2" diff --git a/testing/evolution/evolution.post-install b/testing/evolution/evolution.post-install new file mode 100644 index 000000000..9a51eff31 --- /dev/null +++ b/testing/evolution/evolution.post-install @@ -0,0 +1,18 @@ +#!/bin/sh + +for i in \ + apps-evolution-attachment-reminder.schemas \ + apps-evolution-mail-notification.schemas \ + apps-evolution-mail-prompts-checkdefault.schemas \ + apps-evolution-template-placeholders.schemas \ + apps_evolution_addressbook.schemas \ + apps_evolution_calendar.schemas \ + apps_evolution_email_custom_header.schemas \ + apps_evolution_shell.schemas \ + bogo-junk-plugin.schemas \ + evolution-mail.schemas \ +; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/testing/evolution/evolution.post-upgrade b/testing/evolution/evolution.post-upgrade new file mode 100644 index 000000000..9a51eff31 --- /dev/null +++ b/testing/evolution/evolution.post-upgrade @@ -0,0 +1,18 @@ +#!/bin/sh + +for i in \ + apps-evolution-attachment-reminder.schemas \ + apps-evolution-mail-notification.schemas \ + apps-evolution-mail-prompts-checkdefault.schemas \ + apps-evolution-template-placeholders.schemas \ + apps_evolution_addressbook.schemas \ + apps_evolution_calendar.schemas \ + apps_evolution_email_custom_header.schemas \ + apps_evolution_shell.schemas \ + bogo-junk-plugin.schemas \ + evolution-mail.schemas \ +; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/testing/evolution/evolution.pre-deinstall b/testing/evolution/evolution.pre-deinstall new file mode 100644 index 000000000..9216ac8c2 --- /dev/null +++ b/testing/evolution/evolution.pre-deinstall @@ -0,0 +1,18 @@ +#!/bin/sh + +for i in \ + apps-evolution-attachment-reminder.schemas \ + apps-evolution-mail-notification.schemas \ + apps-evolution-mail-prompts-checkdefault.schemas \ + apps-evolution-template-placeholders.schemas \ + apps_evolution_addressbook.schemas \ + apps_evolution_calendar.schemas \ + apps_evolution_email_custom_header.schemas \ + apps_evolution_shell.schemas \ + bogo-junk-plugin.schemas \ + evolution-mail.schemas \ +; do + echo "Uninstalling GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null +done |