# $Id: PKGBUILD 29062 2009-03-05 01:39:59Z kevin $ # Maintainer: eric # Contributor: Eric Johnson pkgname=perl-mime-lite _realname=MIME-Lite pkgver=3.024 pkgrel=1 pkgdesc="Perl module that provides lightweight MIME generator" arch=(i686 x86_64) license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl-mailtools' 'perl-mime-types' 'perl>=5.10.0') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_realname}-$pkgver.tar.gz) md5sums=('ca71d1d844f5c4f693e5079a2b4fa9a5') build() { cd ${srcdir}/${_realname}-$pkgver # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${pkgdir} || return 1 # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } # vim: ts=2 sw=2 et ft=sh