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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 11:57:35 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:57:35
  Author: bluewind
Revision: 366603

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 366602, 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 366602, perl-cpanplus-dist-arch/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:57:35 UTC (rev 366603)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cpanplus-dist-arch
+pkgver=1.32
+pkgrel=4
+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