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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 11:09:42 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:09:42
  Author: bluewind
Revision: 366462

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-cpanplus/repos/community-staging-any/PKGBUILD (from rev 366461, perl-cpanplus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:09:42 UTC (rev 366462)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus
+pkgver=0.9176
+pkgrel=2
+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=('a5e012bd4dcda94f7540ec2a5b9ec5b3c463c106a9bf4029fdfe69dab31ef9ea5fb57a48b1101ad4e4d6e0195a2d33a8f3eb59a7eb9837db16f7d5e91707167e')
+_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