1 # Contributor: Pete Morris <pete dot morris at gmail>
2 pkgname=perl-text-vimcolor
5 pkgdesc="Syntax color text in HTML or XML using Vim"
7 url="http://search.cpan.org/~geoffr/Text-VimColor/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-path-class')
11 source=(http://search.cpan.org/CPAN/authors/id/G/GE/GEOFFR/Text-VimColor-$pkgver.tar.gz)
12 md5sums=('268fb3f630b463fcec528d798dcf77c3')
15 cd "$srcdir/Text-VimColor-$pkgver"
17 # install module in vendor directories.
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR="$pkgdir/" || return 1
22 # remove perllocal.pod and .packlist
23 find "$pkgdir" -name perllocal.pod -delete
24 find "$pkgdir" -name .packlist -delete
27 # vim:set ts=2 sw=2 et: