[arch-commits] Commit in perl-log-any/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:27:18 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:27:18
  Author: felixonmars
Revision: 1213945

archrelease: copy trunk to community-staging-any

Added:
  perl-log-any/repos/community-staging-any/
  perl-log-any/repos/community-staging-any/PKGBUILD
    (from rev 1213943, perl-log-any/trunk/PKGBUILD)

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

Copied: perl-log-any/repos/community-staging-any/PKGBUILD (from rev 1213943, perl-log-any/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 09:27:18 UTC (rev 1213945)
@@ -0,0 +1,44 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-log-any
+pkgver=1.710
+pkgrel=2
+pkgdesc='Bringing loggers and listeners together'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+url=https://metacpan.org/release/Log-Any
+source=("https://cpan.metacpan.org/authors/id/P/PR/PREACTION/Log-Any-$pkgver.tar.gz")
+md5sums=(f0a9c5b9b81cc5fb842298d9b4b11779)
+sha512sums=(1aff56c1c4c51d4e9aae43add704dd2da86ea320ee095a613bd569c2f0ea546c98d27a1e0854f9b88cc1772bf438ee3be80ba2f61e8c15f39497035993f122e3)
+_ddir="Log-Any-$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"
+)
+
+# 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