[arch-commits] Commit in perl-module-manifest/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Jun 1 18:35:33 UTC 2017
Date: Thursday, June 1, 2017 @ 18:35:31
Author: foutrelis
Revision: 232540
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 232539, perl-module-manifest/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-module-manifest/repos/community-staging-any/PKGBUILD (from rev 232539, perl-module-manifest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 18:35:31 UTC (rev 232540)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 133657 2015-05-17 17:10:28Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: John D Jones III
+
+pkgname=perl-module-manifest
+pkgver=1.08
+pkgrel=3
+pkgdesc="Parse and examine a Perl distribution MANIFEST file"
+arch=('any')
+url='http://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=(http://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