[arch-commits] Commit in evolution/repos (6 files)

Jan de Groot jgc at archlinux.org
Tue Sep 9 11:09:02 UTC 2014


    Date: Tuesday, September 9, 2014 @ 13:09:01
  Author: jgc
Revision: 221271

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  evolution/repos/gnome-unstable-i686/
  evolution/repos/gnome-unstable-i686/PKGBUILD
    (from rev 221270, evolution/trunk/PKGBUILD)
  evolution/repos/gnome-unstable-i686/evolution.install
    (from rev 221270, evolution/trunk/evolution.install)
  evolution/repos/gnome-unstable-x86_64/
  evolution/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 221270, evolution/trunk/PKGBUILD)
  evolution/repos/gnome-unstable-x86_64/evolution.install
    (from rev 221270, evolution/trunk/evolution.install)

-----------------------------------------+
 gnome-unstable-i686/PKGBUILD            |   60 ++++++++++++++++++++++++++++++
 gnome-unstable-i686/evolution.install   |   19 +++++++++
 gnome-unstable-x86_64/PKGBUILD          |   60 ++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/evolution.install |   19 +++++++++
 4 files changed, 158 insertions(+)

Copied: evolution/repos/gnome-unstable-i686/PKGBUILD (from rev 221270, evolution/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2014-09-09 11:09:01 UTC (rev 221271)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=evolution
+pkgname=('evolution' 'evolution-bogofilter' 'evolution-spamassassin')
+pkgver=3.12.6
+pkgrel=1
+pkgdesc="Manage your email, contacts and schedule"
+arch=(i686 x86_64)
+license=(GPL)
+makedepends=(intltool itstool docbook-xsl networkmanager bogofilter spamassassin highlight gnome-desktop evolution-data-server gtkhtml4 libcanberra libpst libytnef psmisc desktop-file-utils hicolor-icon-theme dconf gtkspell3)
+options=('!emptydirs')
+url=https://wiki.gnome.org/Apps/Evolution
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz)
+sha256sums=('5f17a564a3c0351c1d0823551f80579ef611d51ab9db1e7f8d2ad7ed126bf76d')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var \
+      --libexecdir=/usr/lib \
+      --enable-nss=yes \
+      --with-openldap=yes \
+      --enable-smime=yes \
+      --disable-schemas-compile
+  
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+  make
+}
+
+package_evolution() {
+  depends=(gnome-desktop evolution-data-server gtkhtml4 libcanberra libpst libytnef psmisc
+           desktop-file-utils hicolor-icon-theme dconf gtkspell3)
+  install=evolution.install
+  optdepends=('highlight: text highlight plugin'
+              'evolution-spamassassin: Spamassassin spam check plugin'
+              'evolution-bogofilter: Bogofilter spam check plugin')
+  groups=('gnome-extra')
+
+  cd $pkgbase-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  mkdir ../plugins
+  mv "$pkgdir/usr/lib/evolution/3.12/modules/module-bogofilter.so" ../plugins/
+  mv "$pkgdir/usr/lib/evolution/3.12/modules/module-spamassassin.so" ../plugins/
+}
+
+
+package_evolution-bogofilter() {
+  depends=("evolution=$pkgver" 'bogofilter')
+  install -Dm755 plugins/module-bogofilter.so "$pkgdir/usr/lib/evolution/3.12/modules/module-bogofilter.so"
+}
+
+package_evolution-spamassassin() {
+  depends=("evolution=$pkgver" 'spamassassin')
+  install -Dm755 plugins/module-spamassassin.so "$pkgdir/usr/lib/evolution/3.12/modules/module-spamassassin.so"
+}

Copied: evolution/repos/gnome-unstable-i686/evolution.install (from rev 221270, evolution/trunk/evolution.install)
===================================================================
--- gnome-unstable-i686/evolution.install	                        (rev 0)
+++ gnome-unstable-i686/evolution.install	2014-09-09 11:09:01 UTC (rev 221271)
@@ -0,0 +1,19 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if [ -f /usr/share/gconf/schemas/evolution.schemas ]; then
+    gconfpkg --uninstall evolution
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: evolution/repos/gnome-unstable-x86_64/PKGBUILD (from rev 221270, evolution/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2014-09-09 11:09:01 UTC (rev 221271)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=evolution
+pkgname=('evolution' 'evolution-bogofilter' 'evolution-spamassassin')
+pkgver=3.12.6
+pkgrel=1
+pkgdesc="Manage your email, contacts and schedule"
+arch=(i686 x86_64)
+license=(GPL)
+makedepends=(intltool itstool docbook-xsl networkmanager bogofilter spamassassin highlight gnome-desktop evolution-data-server gtkhtml4 libcanberra libpst libytnef psmisc desktop-file-utils hicolor-icon-theme dconf gtkspell3)
+options=('!emptydirs')
+url=https://wiki.gnome.org/Apps/Evolution
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz)
+sha256sums=('5f17a564a3c0351c1d0823551f80579ef611d51ab9db1e7f8d2ad7ed126bf76d')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var \
+      --libexecdir=/usr/lib \
+      --enable-nss=yes \
+      --with-openldap=yes \
+      --enable-smime=yes \
+      --disable-schemas-compile
+  
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+  make
+}
+
+package_evolution() {
+  depends=(gnome-desktop evolution-data-server gtkhtml4 libcanberra libpst libytnef psmisc
+           desktop-file-utils hicolor-icon-theme dconf gtkspell3)
+  install=evolution.install
+  optdepends=('highlight: text highlight plugin'
+              'evolution-spamassassin: Spamassassin spam check plugin'
+              'evolution-bogofilter: Bogofilter spam check plugin')
+  groups=('gnome-extra')
+
+  cd $pkgbase-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  mkdir ../plugins
+  mv "$pkgdir/usr/lib/evolution/3.12/modules/module-bogofilter.so" ../plugins/
+  mv "$pkgdir/usr/lib/evolution/3.12/modules/module-spamassassin.so" ../plugins/
+}
+
+
+package_evolution-bogofilter() {
+  depends=("evolution=$pkgver" 'bogofilter')
+  install -Dm755 plugins/module-bogofilter.so "$pkgdir/usr/lib/evolution/3.12/modules/module-bogofilter.so"
+}
+
+package_evolution-spamassassin() {
+  depends=("evolution=$pkgver" 'spamassassin')
+  install -Dm755 plugins/module-spamassassin.so "$pkgdir/usr/lib/evolution/3.12/modules/module-spamassassin.so"
+}

Copied: evolution/repos/gnome-unstable-x86_64/evolution.install (from rev 221270, evolution/trunk/evolution.install)
===================================================================
--- gnome-unstable-x86_64/evolution.install	                        (rev 0)
+++ gnome-unstable-x86_64/evolution.install	2014-09-09 11:09:01 UTC (rev 221271)
@@ -0,0 +1,19 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if [ -f /usr/share/gconf/schemas/evolution.schemas ]; then
+    gconfpkg --uninstall evolution
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list