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

Felix Yan felixonmars at archlinux.org
Sat May 25 09:00:39 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:00:36
  Author: felixonmars
Revision: 354000

archrelease: copy trunk to staging-any

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

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

Copied: perl-mime-types/repos/staging-any/PKGBUILD (from rev 353999, perl-mime-types/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:00:36 UTC (rev 354000)
@@ -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=3
+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