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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:09:51 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:09:51
  Author: felixonmars
Revision: 329984

archrelease: copy trunk to staging-any

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

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

Copied: perl-mime-types/repos/staging-any/PKGBUILD (from rev 329983, perl-mime-types/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:09:51 UTC (rev 329984)
@@ -0,0 +1,32 @@
+# $Id$
+# 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=2
+pkgdesc="Perl/CPAN Module MIME::Types : Information and processing MIME types"
+arch=('any')
+url="http://search.cpan.org/dist/MIME-Types/"
+license=('PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://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