1 # CPAN Name : HTML-WikiConverter
2 # Contributor: Max Roder <maxroder@web.de>
3 # Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
4 # Generator : CPANPLUS::Dist::Arch 1.19
6 pkgname='perl-html-wikiconverter'
9 pkgdesc="Convert HTML to wiki markup"
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 depends=('perl-class-data-inheritable>=0.02' 'perl-css>=1.07' 'perl-html-parser' 'perl-html-tagset>=3.04' 'perl-html-tree>=3.18' 'perl-params-validate>=0.77' 'perl-uri>=1.35')
15 url='http://search.cpan.org/dist/HTML-WikiConverter'
16 source=('http://search.cpan.org/CPAN/authors/id/D/DI/DIBERRI/HTML-WikiConverter-0.68.tar.gz'
17 'no-useragent-tests.patch')
18 md5sums=('e6d8b16c23b6f38c51d8585f3423aca9'
19 '8006fb9018494d74ff117a8753f1e66b')
20 sha512sums=('e80e9053dd01dfbea587ed2816a282abc4083021d3d80b72b1e2ea2d1ce0b45226bcf0c863beddc7a2bc15fece7b8bfa78e33ee409460776a5ef2de57beae7ee'
21 '709a33fb8a97dca9edf22865eb1781d86638432b840b9ed47897982155ce1243c730585c17d7497113698577c4107000571f001eae40cd76ffeb80da98ab68fd')
22 _distdir="${srcdir}/HTML-WikiConverter-0.68"
25 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
26 PERL_AUTOINSTALL=--skipdeps \
27 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
28 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
29 MODULEBUILDRC=/dev/null
32 patch -p1 < ../no-useragent-tests.patch
34 /usr/bin/perl Makefile.PL
41 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
49 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
56 # vim:set ts=2 sw=2 et: