# $Id: PKGBUILD,v 1.32 2005/10/31 19:50:31 tobias Exp $ # Maintainer: Tobias Kieslich # Contributor: Sarah Hay # Contributor: wain pkgname=sylpheed-claws-gnomefree pkgver=2.3.1 pkgrel=2 pkgdesc="Sylpheed-claws e-mail client whithout gnome" url="http://claws.sylpheed.org" depends=('aspell>=0.60' 'gtk2' 'startup-notification' \ 'libetpan>=0.45') makedepends=('dillo') provides=('sylpheed-claws') conflicts=('sylpheed-claws' 'sylpheed-claws-cvs') source=(http://dl.sourceforge.net/sourceforge/sylpheed-claws/sylpheed-claws-$pkgver.tar.bz2) build() { cd $startdir/src/sylpheed-claws-$pkgver ./configure --prefix=/usr --enable-aspell \ --disable-openssl \ --disable-ldap \ --disable-ipv6 \ --disable-compface \ --disable-spamassassin-plugin \ --disable-pgpcore-plugin \ --disable-pgpmime-plugin \ --disable-pgpinline-plugin \ --enable-dillo-viewer-plugin \ --enable-trayicon-plugin \ --disable-clamav-plugin \ --enable-crash-dialog \ --disable-spamassassin-plugin \ --enable-imlib \ --disable-jpilot \ --disable-gnomeprint 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/sylpheed-claws/tools/$i done cd .. install -D -m644 sylpheed-claws-128x128.png \ $startdir/pkg/usr/share/pixmaps/sylpheed-claws.pngi # clean-up docs ... rm -rf $startdir/pkg/usr/share/sylpheed-claws find $startdir/pkg -name '*.la' -exec rm {} \; } # vim: ft=sh