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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 12:25:41 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:25:41
  Author: bluewind
Revision: 330231

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-mimeinfo/repos/staging-any/PKGBUILD (from rev 330230, perl-file-mimeinfo/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 12:25:41 UTC (rev 330231)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-file-mimeinfo
+pkgver=0.28
+pkgrel=4
+pkgdesc='Determine file type, includes mimeopen and mimetype'
+arch=('any')
+url="https://metacpan.org/release/File-MimeInfo"
+license=('GPL' 'PerlArtistic')
+depends=('perl-file-basedir' 'perl-file-desktopentry' 'shared-mime-info')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=(http://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-${pkgver}.tar.gz)
+sha1sums=('2c7f92541b4a7634ed7f719038c228cf49d4d9ec')
+
+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