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

Evangelos Foutras foutrelis at archlinux.org
Sat Aug 26 15:38:51 UTC 2017


    Date: Saturday, August 26, 2017 @ 15:38:51
  Author: foutrelis
Revision: 254163

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-cpanplus/repos/community-staging-any/PKGBUILD (from rev 254162, perl-cpanplus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 15:38:51 UTC (rev 254163)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus
+pkgver=0.9168
+pkgrel=3
+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' 'perl-object-accessor' 'perl-package-constants')
+url=https://metacpan.org/release/CPANPLUS
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPANPLUS-$pkgver.tar.gz")
+sha512sums=('0e7d16b8b1241b6608c30e9fc8fb12288e031720663effad2803b9755b3a1a9c5c08feed3afa870371189732b0701255d899a9e851aa64f03d9c8000e0c143be')
+_ddir="CPANPLUS-$pkgver"
+
+build() {
+  cd "$srcdir/$_ddir"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_ddir"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_ddir"
+  make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list