[arch-commits] Commit in perl-cpanplus/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 12:33:13 UTC 2020
Date: Sunday, June 21, 2020 @ 12:33:13
Author: felixonmars
Revision: 649273
archrelease: copy trunk to community-staging-any
Added:
perl-cpanplus/repos/community-staging-any/
perl-cpanplus/repos/community-staging-any/PKGBUILD
(from rev 649272, perl-cpanplus/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-cpanplus/repos/community-staging-any/PKGBUILD (from rev 649272, perl-cpanplus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 12:33:13 UTC (rev 649273)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus
+pkgver=0.9908
+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=("https://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPANPLUS-$pkgver.tar.gz")
+sha512sums=('1fc8ca4646cb8d9ba9279ae216ba1a923451c582c3b1650346211bb9d9405ecb61e2f9867180128ef1359bfda6e90c0a6f3b71102e22808d3005f2d8926a823f')
+_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