#Packager: George Vlahavas pkgname=claws-mail pkgver=3.11.1 pkgrel=1gv source=("http://downloads.sourceforge.net/project/claws-mail/Claws%20Mail/$pkgver/claws-mail-$pkgver.tar.xz" "http://www.claws-mail.org/download.php?file=themes/png/claws-mail-theme_gnome-brave.tar.gz" "Makefile.patch") 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)." "Claws Mail - 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} # Patch to bring back claws-mail.desktop patch -p0 < $startdir/src/Makefile.patch ./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 \ --build=$arch-slackware-linux make -j $numjobs || return 1 make DESTDIR=$startdir/pkg/ install }