diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-08 17:30:51 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-08 17:30:51 (GMT) |
commit | 562074d2036106b5cd46505fe9823c939c1e7ff1 (patch) | |
tree | 3571a47cb625390715acf760b4489fe1b1629bab /abs/core-testing/perl_modules/perl-mime-parser | |
parent | 6d04d899f89686ea784fab07c5a0f5090556e64d (diff) | |
download | linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.zip linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.tar.gz linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.tar.bz2 |
Add a few more perl modules required for other programs.
Diffstat (limited to 'abs/core-testing/perl_modules/perl-mime-parser')
-rw-r--r-- | abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD b/abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD new file mode 100644 index 0000000..c8adc5d --- /dev/null +++ b/abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD @@ -0,0 +1,25 @@ +pkgname=perl-mime-parser +pkgver=5.420 +pkgrel=2 +pkgdesc="Perl/CPAN Module MIME::Parser : Parses streams to create MIME entities" +arch=("i686" "x86_64") +url="http://search.cpan.org/DSKOLL/MIME-tools" +license=("GPL" "Artistic") +source=("http://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.420.tar.gz") +md5sums=("4db6505cc0132c80c5a9cc54f443a21a") +makedepends=("perl-io-stringy" "perl-mailtools" ) +#depends=("perl-io-stringy" "perl-mail-field" "perl-mail-header" "perl-mail-internet") +depends=("perl-io-stringy" "perl-mailtools" ) +build() { + cd $startdir/src/MIME-tools-5.420 + eval `perl -V:archname` + /usr/bin/perl Makefile.PL \ + INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \ + INSTALLSITELIB=/usr/lib/perl5/site_perl/current \ + INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1 + make || return 1 + make DESTDIR=$startdir/pkg install || return 1 + /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \; && \ + /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \; && \ + /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \; +} |