OCaml 4.14.0 rebuild
[arch-packages.git] / perl-mime-types / trunk / PKGBUILD
blob6cb49725efc1450c1b02565f1ddc37aa5ecd9e80
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jan de Groot
3 # Contributor: Charles Mauch <cmauch@gmail.com>
5 pkgname=perl-mime-types
6 pkgver=2.22
7 pkgrel=2
8 pkgdesc="Perl/CPAN Module MIME::Types : Information and processing MIME types"
9 arch=('any')
10 url="https://search.cpan.org/dist/MIME-Types/"
11 license=('PerlArtistic')
12 depends=('perl')
13 options=('!emptydirs')
14 source=("https://cpan.metacpan.org/authors/id/M/MA/MARKOV/MIME-Types-$pkgver.tar.gz")
15 sha512sums=('93dd5f54defcb2d9ff0e157b05c0f1e6ffd0d62422ae1b17f7f6deee4886d647cc4abf50dde584a65ee0472859ed224ed7dc491cb27066d15cf937fd7de80da7')
17 build() {
18   cd MIME-Types-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd MIME-Types-$pkgver
25   make test
28 package() {
29   cd MIME-Types-$pkgver
30   make DESTDIR="${pkgdir}" install