db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-mime-types / trunk / PKGBUILD
blobb230e9d6dc3a0e4004e1445fa12384203bf2631b
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.24
7 pkgrel=1
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=('5f1ba7b461eb18438b7e1bcc49291d0a506d937f0020f2a8b17594e4de626110f8d4b4a767d78b491ae788b6a6ea531d8ce2c2245cc614700ac8fa6d320d2bd7')
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