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

23 lines
820 B
Bash

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