[arch-commits] Commit in perl-module-manifest/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:02:43 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:02:43
  Author: felixonmars
Revision: 659518

archrelease: copy trunk to community-staging-any

Added:
  perl-module-manifest/repos/community-staging-any/
  perl-module-manifest/repos/community-staging-any/PKGBUILD
    (from rev 659517, perl-module-manifest/trunk/PKGBUILD)

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

Copied: perl-module-manifest/repos/community-staging-any/PKGBUILD (from rev 659517, perl-module-manifest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 17:02:43 UTC (rev 659518)
@@ -0,0 +1,37 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: John D Jones III
+
+pkgname=perl-module-manifest
+pkgver=1.08
+pkgrel=5
+pkgdesc="Parse and examine a Perl distribution MANIFEST file"
+arch=('any')
+url='https://search.cpan.org/dist/Module-Manifest/'
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'perl-params-util' 'perl' 'perl-file-slurp')
+checkdepends=('perl-test-exception' 'perl-test-warn')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Module-Manifest-$pkgver.tar.gz)
+sha256sums=('722ed428afcbe5b5b441b0165cbafbd8534fa63d7856d4089e6e25ac21e6445d')
+
+build() {
+  cd "${srcdir}"/Module-Manifest-$pkgver
+
+  PERL_USE_UNSAFE_INC=1 PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}"/Module-Manifest-$pkgver
+
+  make test
+}
+
+package() {
+  cd "${srcdir}"/Module-Manifest-$pkgver
+
+  make install DESTDIR="${pkgdir}"
+
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
+}


More information about the arch-commits mailing list