[arch-commits] Commit in perl-function-parameters/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:06:06 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:06:06
  Author: foutrelis
Revision: 1214252

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-function-parameters/repos/community-staging-x86_64/
  perl-function-parameters/repos/community-staging-x86_64/PKGBUILD
    (from rev 1214251, perl-function-parameters/trunk/PKGBUILD)

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

Copied: perl-function-parameters/repos/community-staging-x86_64/PKGBUILD (from rev 1214251, perl-function-parameters/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 11:06:06 UTC (rev 1214252)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-function-parameters
+pkgver=2.001003
+pkgrel=6
+pkgdesc='define functions and methods with parameter lists ("subroutine signatures")'
+arch=(x86_64)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.14.0')
+checkdepends=(perl-dir-self perl-test-fatal)
+url=https://metacpan.org/release/Function-Parameters
+source=("https://search.cpan.org/CPAN/authors/id/M/MA/MAUKE/Function-Parameters-$pkgver.tar.gz")
+md5sums=(da36fb4c1a50c7d43ffd77889b0d2547)
+sha512sums=(47fd5e1e4b4d62b4576cc7439ba6f2636cef96f851e668bbd2274f79f2c4ee11fd9aa2e5739bbdfdf3ed0b3c373dc1c8d63920fd390a1d56592fbdc9be90db59)
+_ddir="Function-Parameters-$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