[arch-commits] Commit in perl-file-mimeinfo/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:37:14 UTC 2021


    Date: Monday, May 24, 2021 @ 11:37:14
  Author: foutrelis
Revision: 416244

archrelease: copy trunk to staging-any

Added:
  perl-file-mimeinfo/repos/staging-any/
  perl-file-mimeinfo/repos/staging-any/PKGBUILD
    (from rev 416243, perl-file-mimeinfo/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: perl-file-mimeinfo/repos/staging-any/PKGBUILD (from rev 416243, perl-file-mimeinfo/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 11:37:14 UTC (rev 416244)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-file-mimeinfo
+pkgver=0.30
+pkgrel=2
+pkgdesc='Determine file type, includes mimeopen and mimetype'
+arch=('any')
+url="https://metacpan.org/release/File-MimeInfo"
+license=('GPL' 'PerlArtistic')
+depends=('perl-encode-locale' 'perl-file-basedir' 'perl-file-desktopentry' 'shared-mime-info')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-$pkgver.tar.gz)
+sha512sums=('44030d2e2be66cb67d4329f8f308bf114014c511fe965979600157d62deffd5c2f05fdf883cb02d98f00d5d0b77c56e252cd377a398461ec421fe7491cd544ec')
+
+build() {
+  cd File-MimeInfo-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd File-MimeInfo-$pkgver
+  make test
+}
+
+package() {
+  cd File-MimeInfo-$pkgver
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list