1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
4 pkgname=perl-sendmail-pmilter
7 pkgdesc="Perl binding of Sendmail Milter protocol "
9 url="http://search.cpan.org/~AVAR/Sendmail-PMilter"
10 license=('GPL' 'PerlArtistic')
12 options=('!emptydirs')
13 source=(http://www.cpan.org/authors/id/A/AV/AVAR/Sendmail-PMilter-$pkgver.tar.gz
15 md5sums=('dca1f18dacce0a7be855decd8682f973')
18 cd $startdir/src/Sendmail-PMilter-$pkgver
20 patch -p1 < ../Context.pm.patch
22 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
24 make install DESTDIR=$startdir/pkg || return 1
25 find $startdir/pkg -name '.packlist' -delete
26 find $startdir/pkg -name '*.pod' -delete