#Maintainer: Thorsten Muehlfelder pkgname=claws-mail pkgver=3.7.6 pkgrel=1tm source=("http://heanet.dl.sourceforge.net/sourceforge/sylpheed-claws/claws-mail-$pkgver.tar.bz2" "http://www.claws-mail.org/download.php?file=themes/png/claws-mail-theme_gnome-brave.tar.gz") url="http://www.claws-mail.org/" docs=('ABOUT-NLS' 'AUTHORS' 'ChangeLog' 'COPYING' 'INSTALL' 'NEWS' 'README' 'TODO') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Claws Mail (A GTK+ based, lightweight, and fast e-mail client)." "Sylpheed-Claws - it bites! A GTK+ based, lightweight, and fast e-mail" "client and newsreader. Supports POP3, APOP, IMAP, SMTP,AUTH, NNTP," "LDAP. Features multiple accounts, spell-checking, address book SSL," "GPG/PGP, filtering, scoring, i18n, & more." ) build() { # default theme cd $startdir/src/ mkdir -p $startdir/pkg/usr/share/claws-mail/themes/ cp -R gnome-brave $startdir/pkg/usr/share/claws-mail/themes/ || return 1 cd $startdir/src/${pkgname}-${pkgver} ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --disable-static \ --disable-spamassassin-plugin \ --disable-dillo-viewer-plugin \ --disable-jpilot \ --disable-gnomeprint make -j3 || return 1 make DESTDIR=$startdir/pkg/ install } # Doinst doinst() { if [ -x usr/bin/gtk-update-icon-cache ]; then usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2>&1 fi }