updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / mutt-utils / PKGBUILD
blob9ca9ca2b6ada11a2cb8b1c192d9e4f73d2890f2a
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=mutt-utils
4 pkgver=1
5 pkgrel=4
6 pkgdesc="A bunch of scripts and config files to coordinate mutt with external apps"
7 arch=('i686' 'x86_64')
8 url="http://spocom.com/users/gjohnson/mutt/"
9 license=('GPL')
10 depends=('libx11')
11 optdepends=('xlhtml: Excel (xlhtml) and Powerpoint (ppthtml) to html converter'
12             'wv: to load and parse Word 2000, 97, 95 and 6 file formats')
13 source=(http://www.spocom.com/users/gjohnson/mutt/excel2text \
14         http://www.spocom.com/users/gjohnson/mutt/mailcap \
15         http://www.spocom.com/users/gjohnson/mutt/mail-to-filter \
16         http://www.spocom.com/users/gjohnson/mutt/mutt_bgrun \
17         http://www.spocom.com/users/gjohnson/mutt/mutt_expires_editor \
18         http://www.spocom.com/users/gjohnson/mutt/mutt_netscape \
19         http://www.spocom.com/users/gjohnson/mutt/mutt_octet_view \
20         http://www.spocom.com/users/gjohnson/mutt/ppt2text \
21         http://www.spocom.com/users/gjohnson/mutt/word2text \
22         http://www.fiction.net/blong/programs/mutt/autoview/RunningX.c)
23 md5sums=('afb12cef3b38ccee6f354b6a4a1090f2'
24          '1380d5b3958d0fc5504ec068fcc900e1'
25          'b076d50c353fbb4da78522e190c4d798'
26          'fc31578879fe0527335311f01b2d4fba'
27          'd8786450669e8b45eef09d58ff766f54'
28          'fff09a07cbf5ae30bee2d09837d19096'
29          '5f6aa89757e2326e2ecb2f779bf708f1'
30          'dcde1a7757fdc51316398900b6be182f'
31          '49300fe71db49158bed89c14e611040c'
32          '31fa80ae98c0fefe11e4786b2d7e4e79')
34 build() {
35   cd ${srcdir}
37   gcc -o RunningX RunningX.c -lX11 || return 1
38   install -D -m755 ${srcdir}/excel2text ${pkgdir}/usr/bin/excel2text || return 1
39   install -D -m755 ${srcdir}/mail-to-filter ${pkgdir}/usr/bin/mail-to-filter || return 1
40   install -D -m755 ${srcdir}/mutt_bgrun ${pkgdir}/usr/bin/mutt_bgrun || return 1
41   install -D -m755 ${srcdir}/mutt_expires_editor ${pkgdir}/usr/bin/mutt_expires_editor || return 1
42   install -D -m755 ${srcdir}/mutt_netscape ${pkgdir}/usr/bin/mutt_netscape || return 1
43   install -D -m755 ${srcdir}/mutt_octet_view ${pkgdir}/usr/bin/mutt_octet_view || return 1
44   install -D -m755 ${srcdir}/ppt2text ${pkgdir}/usr/bin/ppt2text || return 1
45   install -D -m755 ${srcdir}/word2text ${pkgdir}/usr/bin/word2text || return 1
46   install -D -m755 ${srcdir}/RunningX ${pkgdir}/usr/bin/RunningX || return 1
47   install -D -m644 ${srcdir}/mailcap ${pkgdir}/etc/mailcap.muttutilssample || return 1