1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-file-mimeinfo
6 pkgdesc='Determine file type, includes mimeopen and mimetype'
8 url="https://metacpan.org/release/File-MimeInfo"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl-encode-locale' 'perl-file-basedir' 'perl-file-desktopentry' 'shared-mime-info')
11 checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
12 options=('!emptydirs')
13 source=(https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-$pkgver.tar.gz)
14 sha512sums=('44030d2e2be66cb67d4329f8f308bf114014c511fe965979600157d62deffd5c2f05fdf883cb02d98f00d5d0b77c56e252cd377a398461ec421fe7491cd544ec')
17 cd File-MimeInfo-$pkgver
18 perl Makefile.PL INSTALLDIRS=vendor
23 cd File-MimeInfo-$pkgver
28 cd File-MimeInfo-$pkgver
29 make DESTDIR="${pkgdir}" install