summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-mime-types/PKGBUILD23
1 files 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 <felixonmars@archlinux.org>
+# Contributor: Jan de Groot
# Contributor: Charles Mauch <cmauch@gmail.com>
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
}