2011-08-19 19:00:17 +00:00
|
|
|
# $Id: PKGBUILD 135773 2011-08-18 15:03:55Z andyrtr $
|
2011-03-29 01:21:11 +00:00
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
|
2011-07-09 01:32:45 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@plugapps.com>
|
2011-03-29 01:21:11 +00:00
|
|
|
# - removed valgrind from makedepends
|
|
|
|
|
|
|
|
plugrel=1
|
|
|
|
|
|
|
|
pkgname=claws-mail
|
2011-04-12 00:51:45 +00:00
|
|
|
pkgver=3.7.9
|
2011-08-19 19:00:17 +00:00
|
|
|
pkgrel=5
|
2011-03-29 01:21:11 +00:00
|
|
|
pkgdesc="A GTK+ based e-mail client."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL3')
|
|
|
|
url="http://www.claws-mail.org"
|
2011-04-12 00:51:45 +00:00
|
|
|
depends=('gtk2' 'gnutls' 'startup-notification' 'pilot-link' 'enchant'
|
2011-05-02 02:54:26 +00:00
|
|
|
'gpgme' 'libetpan' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils')
|
2011-03-29 01:21:11 +00:00
|
|
|
makedepends=('compface' 'spamassassin' 'bogofilter')
|
|
|
|
optdepends=('python2: needed for some tools'
|
|
|
|
'perl: needed for some tools'
|
|
|
|
'spamassassin: adds support for spamfiltering'
|
|
|
|
'bogofilter: adds support for spamfiltering'
|
|
|
|
'html2ps: AUR pkg - adds support for printing html mails together with html plugins')
|
|
|
|
replaces=('sylpheed-claws')
|
|
|
|
provides=('claws')
|
|
|
|
options=(!libtool)
|
|
|
|
install=claws-mail.install
|
2011-05-26 12:49:16 +00:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/${pkgname}-${pkgver}.tar.bz2
|
|
|
|
claws-notify-crash.patch)
|
|
|
|
md5sums=('2f9d2dcabf84e312cfeb56efa799b5b3'
|
|
|
|
'9a2903449f679344b5f5f51c91825b45')
|
2011-03-29 01:21:11 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
2011-05-26 12:49:16 +00:00
|
|
|
|
|
|
|
patch -Np0 -i $srcdir/claws-notify-crash.patch
|
2011-03-29 01:21:11 +00:00
|
|
|
sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py
|
2011-05-26 12:49:16 +00:00
|
|
|
|
2011-03-29 01:21:11 +00:00
|
|
|
./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
|
|
|
|
}
|