updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-email-folder / PKGBUILD
blob89f2db0f859c70b0b65eb83d360b99b734ec87ed
1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
2 pkgname=perl-email-folder
3 pkgver=0.855
4 pkgrel=1
5 pkgdesc="Perl module to read all messages from a folder as Email::Simple objects"
6 arch=("any")
7 url="http://search.cpan.org/dist/Email-Folder/"
8 license=("GPL" "PerlArtistic")
9 depends=("perl" "perl-email-foldertype>=0.6" "perl-email-simple")
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Folder-$pkgver.tar.gz)
12 md5sums=("0058c0c066bb383103976f659fa8b301")
14 build() {
15   cd "$srcdir/Email-Folder-$pkgver"
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 check() {
21   cd "$srcdir/Email-Folder-$pkgver"
22   make test
25 package() {
26   cd "$srcdir/Email-Folder-$pkgver"
27   make install DESTDIR="$pkgdir"
28   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete