summaryrefslogtreecommitdiff
path: root/community/perl-mail-box-parser-c/PKGBUILD
blob: fc961b41119c0c00b785aeb4b87f7ff9be53fb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 95186 2013-08-06 11:55:13Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-mail-box-parser-c
pkgver=3.007
pkgrel=1
pkgdesc="Perl/CPAN Module Mail::Box::Parser::C : extends MailBox with the speed of C"
arch=("i686" "x86_64" 'mips64el')
url="http://search.cpan.org/dist/Mail-Box-Parser-C"
license=("GPL" "PerlArtistic")
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/M/MA/MARKOV/Mail-Box-Parser-C-${pkgver}.tar.gz")
md5sums=('4203b3df229df135ec3488721f0ce7f8')

build() {
  cd Mail-Box-Parser-C-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor

  make
}

package() {
  cd Mail-Box-Parser-C-${pkgver}

  make install DESTDIR=${pkgdir}

  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}