[arch-commits] Commit in perl-cpan-meta/repos (extra-any extra-any/PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Dec 3 05:51:26 UTC 2014
Date: Wednesday, December 3, 2014 @ 06:51:26
Author: fyan
Revision: 227271
archrelease: copy trunk to extra-any
Added:
perl-cpan-meta/repos/extra-any/
perl-cpan-meta/repos/extra-any/PKGBUILD
(from rev 227270, perl-cpan-meta/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-cpan-meta/repos/extra-any/PKGBUILD (from rev 227270, perl-cpan-meta/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2014-12-03 05:51:26 UTC (rev 227271)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-cpan-meta
+pkgver=2.143240
+pkgrel=1
+pkgdesc='the distribution metadata for a CPAN dist'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=5.8' 'perl-cpan-meta-requirements>=2.121'
+ 'perl-cpan-meta-yaml>=0.008' 'perl-parse-cpan-meta>=1.4414')
+url='https://metacpan.org/release/CPAN-Meta'
+source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-$pkgver.tar.gz")
+sha512sums=('091a4d2e89b0203a9704a9fc0777855bca3ff6104510f324be6fbe4243d6b5fb9d98b3e0b6d7ff2d977d5a2b9513204ea1eeeb0c773587439124ebd0c1604f69')
+
+_ddir="CPAN-Meta-$pkgver"
+
+build() (
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
+ make
+)
+
+check() (
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+)
+
+package() (
+ cd "$srcdir/$_ddir"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
\ No newline at end of file
More information about the arch-commits
mailing list