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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:39:06 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:39:06
  Author: foutrelis
Revision: 470250

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-cpanplus/repos/community-staging-any/PKGBUILD (from rev 470249, perl-cpanplus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 10:39:06 UTC (rev 470250)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus
+pkgver=0.9176
+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=('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