updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mhonarc / PKGBUILD
blob4458836b846d6a285593bfc9ba2cb8b4e12016e8
1 # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
2 # Contributor: Billy Congo <billycongo@gmail.com>
3 # Contributor: froggie <sullivanva@gmail.com>
5 pkgname=mhonarc
6 pkgver=2.6.16
7 pkgrel=1
8 pkgdesc="MHonArc is a Perl mail-to-HTML converter."
9 license=("GPL")
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/"
15 build() {
16   cd "$srcdir/MHonArc-$pkgver"
17   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \
18     PREFIX="$pkgdir/usr/"  || return 1
19   make || 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')