From f79cf536a2cbb7a02c830e715311207212a34e03 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 15:50:40 +0000 Subject: perl-mime-types: update to 2.17 --- abs/core/perl_modules/perl-mime-types/PKGBUILD | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/abs/core/perl_modules/perl-mime-types/PKGBUILD b/abs/core/perl_modules/perl-mime-types/PKGBUILD index b4b4265..361f099 100644 --- a/abs/core/perl_modules/perl-mime-types/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-types/PKGBUILD @@ -1,33 +1,32 @@ -# $Id: PKGBUILD 151300 2012-02-25 13:18:30Z pierre $ -# Maintainer: Jan de Groot +# $Id$ +# Maintainer: Felix Yan +# Contributor: Jan de Groot # Contributor: Charles Mauch pkgname=perl-mime-types -_realname=MIME-Types -pkgver=1.34 +pkgver=2.17 pkgrel=1 pkgdesc="Perl/CPAN Module MIME::Types : Information and processing MIME types" arch=('any') +url="http://search.cpan.org/dist/MIME-Types/" license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" depends=('perl') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz") -md5sums=('87c496480e463c0b7792e7f5429e50d1') +source=("http://www.cpan.org/authors/id/M/MA/MARKOV/MIME-Types-${pkgver}.tar.gz") +sha512sums=('a834ddfa70fbaa5688a2a35626c489a48448e273638312609faaa8fbf07ba656254d1f907ba5f25518e93fd62b7b9265eec700c38c8446876dca24e07d8b15c4') build() { - cd "${srcdir}/${_realname}-${pkgver}" - # install module in vendor directories. + cd MIME-Types-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" + cd MIME-Types-${pkgver} make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd MIME-Types-${pkgver} + make DESTDIR="${pkgdir}" install } -- cgit v0.12