From 378f0434c741c06e742a2641bd9598014333c7b3 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sun, 13 Jul 2014 12:45:05 -0300 Subject: mhonarc --- pcr/mhonarc/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pcr/mhonarc/PKGBUILD (limited to 'pcr/mhonarc') 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 +# Contributor: Billy Congo +# Contributor: froggie +# Contributor: Lukas Martini + +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') -- cgit v1.2.3