diff options
-rw-r--r-- | pcr/mhonarc/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/mhonarc/PKGBUILD b/pcr/mhonarc/PKGBUILD new file mode 100644 index 000000000..64519d1fc --- /dev/null +++ b/pcr/mhonarc/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> +# Contributor: Billy Congo <billycongo@gmail.com> +# Contributor: froggie <sullivanva@gmail.com> +# Contributor: Lukas Martini <hello@lutoma.org> + +pkgname=mhonarc +pkgver=2.6.19 +pkgrel=1 +pkgdesc="MHonArc is a Perl mail-to-HTML converter." +license=("GPL") +arch=("i686" "x86_64") +depends=('perl>=5.10.0') +source=(http://www.mhonarc.org/release/MHonArc/tar/MHonArc-$pkgver.tar.bz2{,.sig}) +url="http://www.mhonarc.org/" + +build() { + cd "$srcdir/MHonArc-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \ + PREFIX="$pkgdir/usr/" + make +} + +package() { + cd "$srcdir/MHonArc-$pkgver" + make install + + # move /usr/doc to /usr/share/doc for FHS-compliance. + mv "$pkgdir/usr/doc" "$pkgdir/usr/share/" + # remove perllocal.pod and .packlist + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete +} + +md5sums=('6e74712a6da370c8c63b5bde7573f48f' + 'SKIP') |