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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:30:28 UTC 2021


    Date: Monday, May 24, 2021 @ 08:30:28
  Author: felixonmars
Revision: 415936

archrelease: copy trunk to staging-any

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

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

Copied: perl-mime-types/repos/staging-any/PKGBUILD (from rev 415935, perl-mime-types/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:30:28 UTC (rev 415936)
@@ -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.20
+pkgrel=2
+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://cpan.metacpan.org/authors/id/M/MA/MARKOV/MIME-Types-$pkgver.tar.gz")
+sha512sums=('94d9c8b0c8526f08e34754a651cebf2ed72e895e7891b0989f8fa40629a7de9a266a558d9b93bb7c985721b312bead5524e6f840332da6a88a1cea244a004d4e')
+
+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