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

Felix Yan felixonmars at archlinux.org
Sat May 25 12:03:50 UTC 2019


    Date: Saturday, May 25, 2019 @ 12:03:49
  Author: felixonmars
Revision: 354271

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-mimeinfo/repos/staging-any/PKGBUILD (from rev 354270, perl-file-mimeinfo/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 12:03:49 UTC (rev 354271)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-file-mimeinfo
+pkgver=0.29
+pkgrel=2
+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=(https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-${pkgver}.tar.gz)
+sha512sums=('3b012843a0934e2df78a28e52efec3cbe10b06fd2be7f3d63f64309752240af2e7ef9440a839aa170197f1037baee5fdcf1c1303fd57349841f37ee7001b68dd')
+
+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