[arch-commits] Commit in perl-mime-types/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 12:28:47 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:28:46
  Author: foutrelis
Revision: 384538

archrelease: copy trunk to staging-any

Added:
  perl-mime-types/repos/staging-any/
  perl-mime-types/repos/staging-any/PKGBUILD
    (from rev 384537, perl-mime-types/trunk/PKGBUILD)

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

Copied: perl-mime-types/repos/staging-any/PKGBUILD (from rev 384537, perl-mime-types/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 12:28:46 UTC (rev 384538)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jan de Groot
+# Contributor: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-mime-types
+pkgver=2.17
+pkgrel=4
+pkgdesc="Perl/CPAN Module MIME::Types : Information and processing MIME types"
+arch=('any')
+url="https://search.cpan.org/dist/MIME-Types/"
+license=('PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("https://www.cpan.org/authors/id/M/MA/MARKOV/MIME-Types-${pkgver}.tar.gz")
+sha512sums=('a834ddfa70fbaa5688a2a35626c489a48448e273638312609faaa8fbf07ba656254d1f907ba5f25518e93fd62b7b9265eec700c38c8446876dca24e07d8b15c4')
+
+build() {
+  cd MIME-Types-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd MIME-Types-${pkgver}
+  make test
+}
+
+package() {
+  cd MIME-Types-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list