[arch-commits] Commit in perl-cpanplus/repos (community-any community-any/PKGBUILD)

Florian Pritz bluewind at nymeria.archlinux.org
Tue Jun 3 09:39:43 UTC 2014


    Date: Tuesday, June 3, 2014 @ 11:39:43
  Author: bluewind
Revision: 112531

archrelease: copy trunk to community-any

Added:
  perl-cpanplus/repos/community-any/
  perl-cpanplus/repos/community-any/PKGBUILD
    (from rev 112530, perl-cpanplus/trunk/PKGBUILD)

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

Copied: perl-cpanplus/repos/community-any/PKGBUILD (from rev 112530, perl-cpanplus/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-06-03 09:39:43 UTC (rev 112531)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus
+pkgver=0.9148
+pkgrel=1
+pkgdesc='Ameliorated interface to the CPAN'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl perl-log-message perl-archive-extract perl-term-ui perl-log-message-simple perl-module-pluggable)
+url=https://metacpan.org/release/CPANPLUS
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPANPLUS-$pkgver.tar.gz")
+md5sums=(e135aab8af0f16e07ddf1fe096680a00)
+sha512sums=(321675021f07c440c835c8cd4a074e72257b29b62c2e72367ead7d4005194f6b1fa48198aa3e7bceabf47b0df79f50800ed464da4aa11fe53686a1ddc8112539)
+_ddir="CPANPLUS-$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:




More information about the arch-commits mailing list