updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / perl-email-sender / PKGBUILD
blob3773c941b641a1fd6a0a23ef067c85ab8f0c5d5a
1 # Contributor: minimalist <minimalist@lavabit.com>
2 # Generator  : CPANPLUS::Dist::Arch 1.15
4 pkgname='perl-email-sender'
5 pkgver='0.110001'
6 pkgrel='1'
7 pkgdesc="a library for sending email"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-capture-tiny>=0.08' 'perl-email-abstract>=3' 'perl-email-address' 'perl-email-simple>=1.998' 'perl-list-moreutils' 'perl-moose>=0.70' 'perl-throwable' 'perl-try-tiny')
12 makedepends=()
13 url='http://search.cpan.org/dist/Email-Sender'
14 source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Sender-0.110001.tar.gz')
15 md5sums=('ec3dcebc971879e87b7f3ab150bf4c30')
16 _distdir="${srcdir}/Email-Sender-0.110001"
18 build() {
19   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
20       PERL_AUTOINSTALL=--skipdeps                            \
21       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
22       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
23       MODULEBUILDRC=/dev/null
25     cd "$_distdir"
26     /usr/bin/perl Makefile.PL
27     make
28   )
31 check() {
32   cd "$_distdir"
33   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
34     make test
35   )
38 package() {
39   cd "$_distdir"
40   make install
41   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
44 # Local Variables:
45 # mode: shell-script
46 # sh-basic-offset: 2
47 # End:
48 # vim:set ts=2 sw=2 et: