mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
61 lines
1.8 KiB
Bash
61 lines
1.8 KiB
Bash
# $Id: PKGBUILD 145084 2011-12-16 15:46:53Z andyrtr $
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - removed valgrind from makedepends
|
|
|
|
plugrel=1
|
|
|
|
pkgname=claws-mail
|
|
pkgver=3.8.0
|
|
pkgrel=2
|
|
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' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils')
|
|
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')
|
|
replaces=('sylpheed-claws')
|
|
provides=('claws')
|
|
options=(!libtool)
|
|
install=claws-mail.install
|
|
source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('df9f1657d7f34959a2205344d952c2e3')
|
|
|
|
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
|
|
}
|