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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:20:49 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:20:49
  Author: foutrelis
Revision: 405494

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 405493, perl-cpan-changes/trunk/PKGBUILD)

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

Copied: perl-cpan-changes/repos/community-staging-any/PKGBUILD (from rev 405493, perl-cpan-changes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 00:20:49 UTC (rev 405494)
@@ -0,0 +1,36 @@
+# 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=3
+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