1 #Contributor: Sergey Dovgal <arcadoss@gmail.com>
3 pkgname=perl-html-fromtext
4 _realname=HTML-FromText
7 pkgdesc="HTML::FromText - Convert plain text to HTML"
9 license=('PerlArtistic')
10 url="http://search.cpan.org/dist/${_realname}/"
11 depends=('perl>=5.10.0' 'perl-email-find')
13 source=(http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/$_realname-$pkgver.tar.gz)
14 md5sums=('fb8ae4ab0cae0b57101f78b046b3927b')
17 cd ${srcdir}/${_realname}-${pkgver}
18 # install module in vendor directories.
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR=${pkgdir} || return 1
23 # remove perllocal.pod and .packlist
24 find ${pkgdir} -name perllocal.pod -delete
25 find ${pkgdir} -name .packlist -delete
27 # vim: ts=2 sw=2 et ft=sh