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

Florian Pritz bluewind at archlinux.org
Thu Jun 1 09:07:55 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:07:54
  Author: bluewind
Revision: 231967

archrelease: copy trunk to community-staging-any

Added:
  perl-cpan-changes/repos/community-staging-any/
  perl-cpan-changes/repos/community-staging-any/PKGBUILD
    (from rev 231966, perl-cpan-changes/trunk/PKGBUILD)

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

Copied: perl-cpan-changes/repos/community-staging-any/PKGBUILD (from rev 231966, perl-cpan-changes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 09:07:54 UTC (rev 231967)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+pkgname=perl-cpan-changes
+pkgver=0.400002
+pkgrel=2
+pkgdesc="Read and write Changes files"
+arch=('any')
+url='http://search.mcpan.org/dist/CPAN-Changes'
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/H/HA/HAARG/CPAN-Changes-$pkgver.tar.gz)
+sha256sums=('01eedea90d07468cb58e4a50bfa3bb1d4eeda9073596add1118fc359153abe8d')
+
+build() {
+  cd "${srcdir}"/CPAN-Changes-$pkgver
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}"/CPAN-Changes-$pkgver
+
+  make test
+}
+
+package() {
+  cd "${srcdir}"/CPAN-Changes-$pkgver
+
+  make install DESTDIR="${pkgdir}"
+
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
+}



More information about the arch-commits mailing list