# $Id: PKGBUILD 65731 2012-02-22 12:09:56Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-authen-sasl
pkgver=2.15
pkgrel=3
pkgdesc="Perl/CPAN Module Authen::SASL : SASL authentication framework"
arch=(any)
url="http://search.cpan.org/dist/Authen-SASL"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-$pkgver.tar.gz")
md5sums=('35929abb2755cf479d548672800aebee')

build() {
  cd $srcdir/Authen-SASL-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
