summaryrefslogtreecommitdiff
path: root/pcr/mhonarc/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-13 12:45:05 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-13 12:45:05 -0300
commit378f0434c741c06e742a2641bd9598014333c7b3 (patch)
tree0e9ef73fe02f1fa6eba9dcc2cef4238ff95b6d03 /pcr/mhonarc/PKGBUILD
parentf272718e00d83ea49c2a3ddc017527d1018d2b98 (diff)
mhonarc
Diffstat (limited to 'pcr/mhonarc/PKGBUILD')
-rw-r--r--pcr/mhonarc/PKGBUILD35
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')