PKGBUILDs/community/perl-email-abstract/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
814 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
pkgname=perl-email-abstract
pkgver=3.001
pkgrel=1
pkgdesc="unified interface to mail representations "
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Email-Abstract"
license=('GPL' 'PerlArtistic')
depends=('perl-email-simple>=1.91')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Abstract-$pkgver.tar.gz)
build() {
cd $startdir/src/Email-Abstract-$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
}
md5sums=('ea68d4c3738755456aa3a4a26d79475a')