diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
commit | 6f102d1647580e0bb9513c124b26a64c77da4f15 (patch) | |
tree | 0340f1f588be251183fe2b251bdba778f2c85c22 /libre/claws-mail-libre/PKGBUILD | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) | |
download | abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.gz abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.bz2 abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'libre/claws-mail-libre/PKGBUILD')
-rw-r--r-- | libre/claws-mail-libre/PKGBUILD | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD new file mode 100644 index 000000000..7a093b29a --- /dev/null +++ b/libre/claws-mail-libre/PKGBUILD @@ -0,0 +1,96 @@ +# $Id$ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgbase=claws-mail +pkgname=claws-mail-libre +pkgflag=-libre +pkgver=3.9.0 +pkgrel=2 +pkgdesc='A GTK+ based e-mail client, without nonfree PalmOS handheld devices support' +arch=( + i686 + x86_64 + mips64el +) +license=GPL3 +url="http://www.$pkgbase.org" +depends=( + db + dbus-glib + desktop-file-utils + enchant + gnutls + gpgme + gtk2 + hicolor-icon-theme + 'libetpan>=1.1' + libsm + startup-notification +) +makedepends=( + bogofilter + compface + spamassassin + valgrind +) +optdepends=( + 'python2: needed for some tools' + 'perl: needed for some tools' + 'spamassassin: adds support for spamfiltering' + 'bogofilter: adds support for spamfiltering' +) +provides=( + claws + $pkgbase=$pkgver +) +conflicts=( + $pkgbase +) +replaces=( + $pkgbase + sylpheed-claws +) +options=( + '!libtool' +) +install=$pkgbase.install +source=( + http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$pkgbase-$pkgver.tar.bz2 +) +md5sums=( + 4c5ac7b21f0ed17d0f6404124c2229a4 +) + +build() { + cd $srcdir/$pkgbase-$pkgver + + sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py + + setarch $CARCH ./configure --prefix=/usr\ + --disable-dillo-viewer-plugin\ + --disable-static\ + --enable-bogofilter-plugin\ + --enable-crash-dialog\ + --enable-enchant\ + --enable-gnutls\ + --enable-jpilot\ + --enable-ldap\ + --enable-pgpmime-plugin\ + --enable-spamassassin-plugin + + setarch $CARCH make +} + +package() { + cd $srcdir/$pkgbase-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install + + # build and install extra tools + cd tools + setarch $CARCH 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/$pkgbase/tools/$i + done +} |