# Contributor: wain pkgname=claws-mail-gnomefree pkgver=2.7.0 pkgrel=1 pkgdesc="A GTK+ based e-mail client without gnome" arch=(i686 x86_64) url="http://www.claws-mail.org" depends=('aspell>=0.60' 'gtk2>=2.10.1' 'libetpan>=0.48' 'startup-notification>=0.8') makedepends=('dillo') provides=('claws-mail') conflicts=('claws-mail' 'sylpheed-claws' 'sylpheed-claws-cvs') options=('NOLIBTOOL') source=(http://dl.sourceforge.net/sourceforge/sylpheed-claws/claws-mail-${pkgver}.tar.bz2) build() { cd ${startdir}/src/claws-mail-${pkgver} ./configure --prefix=/usr --enable-aspell \ --disable-openssl \ --disable-ldap \ --enable-dillo-viewer-plugin \ --disable-clamav-plugin \ --disable-crash-dialog \ --disable-pgpmime-plugin \ --disable-spamassassin-plugin \ --disable-imlib \ --disable-jpilot \ --enable-libetpan \ --disable-ipv6 \ --disable-gnomeprint \ --disable-bogofilter-plugin make || return 1 make DESTDIR=${startdir}/pkg 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} \ ${startdir}/pkg/usr/lib/claws-mail/tools/${i} done cd .. install -D -m644 claws-mail-128x128.png \ ${startdir}/pkg/usr/share/pixmaps/claws-mail.png # clean-up docs ... rm -rf ${startdir}/pkg/usr/share/claws-mail }