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

Florian Pritz bluewind at archlinux.org
Thu Jun 1 18:14:47 UTC 2017


    Date: Thursday, June 1, 2017 @ 18:14:47
  Author: bluewind
Revision: 232504

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-cpanplus-dist-arch/repos/community-staging-any/PKGBUILD (from rev 232503, perl-cpanplus-dist-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 18:14:47 UTC (rev 232504)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus-dist-arch
+pkgver=1.32
+pkgrel=2
+pkgdesc='CPANPLUS backend for building ArchLinux pacman packages'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl perl-cpanplus)
+url=https://metacpan.org/release/CPANPLUS-Dist-Arch
+source=("http://search.cpan.org/CPAN/authors/id/J/JN/JNBEK/CPANPLUS-Dist-Arch-$pkgver.tar.gz")
+md5sums=(673be0f0651e975faf4aa59536361d60)
+sha512sums=(92aa6214c56b73c5ce48998a9cc86d619ac3e8c01c1cd3445a99fc9dbc4740923f0cc7708f7270dbc1e930cc783366f98833a8ae58a62f225b614d626c79665d)
+_ddir="CPANPLUS-Dist-Arch-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list