Date: Wednesday, November 14, 2012 @ 14:49:19 Author: andyrtr Revision: 171009
archrelease: copy trunk to staging-i686, staging-x86_64 Added: claws-mail/repos/staging-i686/ claws-mail/repos/staging-i686/PKGBUILD (from rev 171008, claws-mail/trunk/PKGBUILD) claws-mail/repos/staging-i686/claws-mail.install (from rev 171008, claws-mail/trunk/claws-mail.install) claws-mail/repos/staging-x86_64/ claws-mail/repos/staging-x86_64/PKGBUILD (from rev 171008, claws-mail/trunk/PKGBUILD) claws-mail/repos/staging-x86_64/claws-mail.install (from rev 171008, claws-mail/trunk/claws-mail.install) -----------------------------------+ staging-i686/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++ staging-i686/claws-mail.install | 16 ++++++++++ staging-x86_64/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++ staging-x86_64/claws-mail.install | 16 ++++++++++ 4 files changed, 144 insertions(+) Copied: claws-mail/repos/staging-i686/PKGBUILD (from rev 171008, claws-mail/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-11-14 19:49:19 UTC (rev 171009) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> + +pkgname=claws-mail +pkgver=3.9.0 +pkgrel=1 +pkgdesc="A GTK+ based e-mail client." +arch=('i686' 'x86_64') +license=('GPL3') +url="http://www.claws-mail.org" +depends=('gtk2' 'gnutls' 'startup-notification' 'pilot-link' 'enchant' + 'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') +makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind') +optdepends=('python2: needed for some tools' + 'perl: needed for some tools' + 'spamassassin: adds support for spamfiltering' + 'bogofilter: adds support for spamfiltering') +replaces=('sylpheed-claws') +provides=('claws') +options=(!libtool) +install=claws-mail.install +source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/${pkgname}-${pkgver}.tar.bz2) +md5sums=('4c5ac7b21f0ed17d0f6404124c2229a4') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py + + ./configure --prefix=/usr --disable-static \ + --enable-enchant \ + --enable-gnutls \ + --enable-ldap \ + --disable-dillo-viewer-plugin \ + --enable-crash-dialog \ + --enable-pgpmime-plugin \ + --enable-spamassassin-plugin \ + --enable-bogofilter-plugin \ + --enable-jpilot + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + + # build and install extra tools + cd tools + make + # all executables and .conf files ; only top directory + find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do + install -D -m755 ${i} \ + ${pkgdir}/usr/lib/claws-mail/tools/${i} + done +} Copied: claws-mail/repos/staging-i686/claws-mail.install (from rev 171008, claws-mail/trunk/claws-mail.install) =================================================================== --- staging-i686/claws-mail.install (rev 0) +++ staging-i686/claws-mail.install 2012-11-14 19:49:19 UTC (rev 171009) @@ -0,0 +1,16 @@ +post_install() { + echo "install \"html2ps\" from AUR to add support for printing html mails together with html plugins" + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + Copied: claws-mail/repos/staging-x86_64/PKGBUILD (from rev 171008, claws-mail/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-11-14 19:49:19 UTC (rev 171009) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> + +pkgname=claws-mail +pkgver=3.9.0 +pkgrel=1 +pkgdesc="A GTK+ based e-mail client." +arch=('i686' 'x86_64') +license=('GPL3') +url="http://www.claws-mail.org" +depends=('gtk2' 'gnutls' 'startup-notification' 'pilot-link' 'enchant' + 'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') +makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind') +optdepends=('python2: needed for some tools' + 'perl: needed for some tools' + 'spamassassin: adds support for spamfiltering' + 'bogofilter: adds support for spamfiltering') +replaces=('sylpheed-claws') +provides=('claws') +options=(!libtool) +install=claws-mail.install +source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/${pkgname}-${pkgver}.tar.bz2) +md5sums=('4c5ac7b21f0ed17d0f6404124c2229a4') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py + + ./configure --prefix=/usr --disable-static \ + --enable-enchant \ + --enable-gnutls \ + --enable-ldap \ + --disable-dillo-viewer-plugin \ + --enable-crash-dialog \ + --enable-pgpmime-plugin \ + --enable-spamassassin-plugin \ + --enable-bogofilter-plugin \ + --enable-jpilot + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + + # build and install extra tools + cd tools + make + # all executables and .conf files ; only top directory + find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do + install -D -m755 ${i} \ + ${pkgdir}/usr/lib/claws-mail/tools/${i} + done +} Copied: claws-mail/repos/staging-x86_64/claws-mail.install (from rev 171008, claws-mail/trunk/claws-mail.install) =================================================================== --- staging-x86_64/claws-mail.install (rev 0) +++ staging-x86_64/claws-mail.install 2012-11-14 19:49:19 UTC (rev 171009) @@ -0,0 +1,16 @@ +post_install() { + echo "install \"html2ps\" from AUR to add support for printing html mails together with html plugins" + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} +