# $Id: PKGBUILD 3665 2009-10-07 08:20:30Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Charles Mauch # Contributor: Francois Charette pkgname=perl-mail-box pkgver=2.091 pkgrel=1 pkgdesc="Mail folder manager and MUA backend" arch=(any) url="http://search.cpan.org/dist/Mail-Box" license=('GPL' 'PerlArtistic') depends=('perl-timedate' 'perl-digest-hmac' 'perl-file-remove>=0.20' 'perl-io-stringy' 'perl-mime-types>=1.004' 'perl-mailtools' 'perl-object-realize-later>=0.14' 'perl-uri>=1.23' 'perl-user-identity>=0.90') options=('!emptydirs') source=(http://www.cpan.org/authors/id/M/MA/MARKOV/Mail-Box-$pkgver.tar.gz) md5sums=('8e8b979d186037636d2111572c2fc467') build() { cd $startdir/src/Mail-Box-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete }