updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-sendmail-pmilter / PKGBUILD
blobe04964ccde37ea117311e6e38bf3bce3da4a508d
1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
2 # Contributor: 
4 pkgname=perl-sendmail-pmilter
5 pkgver=0.97
6 pkgrel=1
7 pkgdesc="Perl binding of Sendmail Milter protocol "
8 arch=('i686' 'x86_64')
9 url="http://search.cpan.org/~AVAR/Sendmail-PMilter"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl')
12 options=('!emptydirs')
13 source=(http://www.cpan.org/authors/id/A/AV/AVAR/Sendmail-PMilter-$pkgver.tar.gz
14         Context.pm.patch) 
15 md5sums=('dca1f18dacce0a7be855decd8682f973')
17 build() {
18   cd  $startdir/src/Sendmail-PMilter-$pkgver
20   patch -p1 < ../Context.pm.patch
21   
22   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
23   make || return 1
24   make install DESTDIR=$startdir/pkg || return 1
25   find $startdir/pkg -name '.packlist' -delete
26   find $startdir/pkg -name '*.pod' -delete