updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-html-fromtext / PKGBUILD
blobde6fd9e48b08c406248117a281ef87c93d118c50
1 #Contributor: Sergey Dovgal <arcadoss@gmail.com> 
3 pkgname=perl-html-fromtext
4 _realname=HTML-FromText
5 pkgver=2.05
6 pkgrel=1
7 pkgdesc="HTML::FromText - Convert plain text to HTML"
8 arch=(i686 x86_64)
9 license=('PerlArtistic')
10 url="http://search.cpan.org/dist/${_realname}/"
11 depends=('perl>=5.10.0' 'perl-email-find')
12 options=(!emptydirs)
13 source=(http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/$_realname-$pkgver.tar.gz)
14 md5sums=('fb8ae4ab0cae0b57101f78b046b3927b')
16 build() {
17   cd ${srcdir}/${_realname}-${pkgver}
18   # install module in vendor directories.
19   perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make  || 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