1 # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
2 # Contributor: Billy Congo <billycongo@gmail.com>
3 # Contributor: froggie <sullivanva@gmail.com>
8 pkgdesc="MHonArc is a Perl mail-to-HTML converter."
10 arch=("i686" "x86_64")
11 depends=('perl>=5.10.0')
12 source=(http://www.mhonarc.org/release/MHonArc/tar/MHonArc-$pkgver.tar.bz2)
13 url="http://www.mhonarc.org/"
16 cd "$srcdir/MHonArc-$pkgver"
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \
18 PREFIX="$pkgdir/usr/" || return 1
20 make install || return 1
22 # move /usr/doc to /usr/share/doc for FHS-compliance.
23 mv "$pkgdir/usr/doc" "$pkgdir/usr/share/"
24 # remove perllocal.pod and .packlist
25 find "$pkgdir" -name perllocal.pod -delete
26 find "$pkgdir" -name .packlist -delete
29 md5sums=('1aae948971869d6fdf3d810d9894b3db')