upgpkg: sbcl 2.3.1-1
[arch-packages.git] / perl-file-mimeinfo / trunk / PKGBUILD
bloba5a30342e6d372f040ea87aebea9427a20a42ce2
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-file-mimeinfo
4 pkgver=0.33
5 pkgrel=1
6 pkgdesc='Determine file type, includes mimeopen and mimetype'
7 arch=('any')
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=('5fbba13775079da56928175f48db1c1ab8ac4d7fa3e85bdb5384c4021cab7cf8c363a3d8219cf34318136b1470e32163abae7c37a119416a5e510d8d07848c9d')
16 build() {
17   cd File-MimeInfo-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd File-MimeInfo-$pkgver
24   make test
27 package() {
28   cd File-MimeInfo-$pkgver
29   make DESTDIR="${pkgdir}" install