1 # Maintainer: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
2 # Contributor: Giorgio Lando <patroclo7@gmail.com>
9 pkgdesc="An app to print email from CLI mail clients, mutt in particular"
11 arch=("i686" "x86_64")
12 depends=('texlive-latexextra' 'perl-timedate' 'perl-file-which' 'perl-text-iconv' 'psutils' 'dialog')
13 optdepends=('texlive-fontextra: Adds the CMBright font')
14 makedepends=('imagemagick')
15 url=(http://muttprint.sf.net)
16 backup=(etc/Muttprintrc)
17 source=(http://downloads.sf.net/$pkgname/$pkgname-$_mainver.tar.gz
18 http://ftp.debian.org/debian/pool/main/m/muttprint/muttprint_${pkgver/_/-}.diff.gz)
21 cd $startdir/src/$pkgname-$_mainver
23 patch -p1 < ../muttprint_${pkgver/_/-}.diff
24 sed -i "/14/d" debian/patches/00list
25 for i in `cat debian/patches/00list` ; do \
26 patch -p1 < debian/patches/$i.dpatch ; \
29 # convert images (and make pics/ build work)
31 convert -flop BabyTuX.eps BabyTuX.eps
32 for i in BabyTuX_color.eps BabyTuX.eps Debian_color.eps Debian.eps \
33 Gentoo.eps Gentoo_color.eps ; do \
34 convert $i `basename $i .eps`.png; \
36 convert penguin.eps penguin.jpg
40 automake --add-missing --copy
42 ./configure --prefix=/usr
43 make PREFIX=/usr DESTDIR=$startdir/pkg install
45 for i in README* CREDITS ChangeLog CHANGES AUTHORS ; do \
46 install -m644 $i $startdir/pkg/usr/share/doc/muttprint/$i ; \
49 mkdir -p $startdir/pkg/etc
50 install -m644 sample-muttprintrc-en $startdir/pkg/etc/Muttprintrc
53 md5sums=('39b76058b838e3078df93236eda2c316'
54 'f1d0d2a60eab9cf3410b0a83f3cc6348')