From a4547529c10e1c3ee7d25f7e32d101a2b05fd769 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 3 Dec 2012 05:13:31 -0200 Subject: claws-mail-libre: add pkg to libre repo --- libre/claws-mail-libre/PKGBUILD | 96 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 libre/claws-mail-libre/PKGBUILD (limited to 'libre/claws-mail-libre/PKGBUILD') diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD new file mode 100644 index 000000000..38533f59b --- /dev/null +++ b/libre/claws-mail-libre/PKGBUILD @@ -0,0 +1,96 @@ +# $Id$ +# Maintainer: Andreas Radke +# Maintainer (Parabola): Márcio Silva + +pkgbase=claws-mail +pkgname=claws-mail-libre +pkgflag=-libre +pkgver=3.9.0 +pkgrel=1 +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 +) +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 +} -- cgit v1.2.3-54-g00ecf