[arch-commits] Commit in perl-carp-assert/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 08:35:46 UTC 2021
Date: Monday, May 24, 2021 @ 08:35:46
Author: foutrelis
Revision: 944022
archrelease: copy trunk to community-staging-any
Added:
perl-carp-assert/repos/community-staging-any/
perl-carp-assert/repos/community-staging-any/PKGBUILD
(from rev 944020, perl-carp-assert/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-carp-assert/repos/community-staging-any/PKGBUILD (from rev 944020, perl-carp-assert/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 08:35:46 UTC (rev 944022)
@@ -0,0 +1,44 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-carp-assert
+pkgver=0.21
+pkgrel=4
+pkgdesc='executable comments'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.6')
+url=https://metacpan.org/release/Carp-Assert
+source=("https://cpan.metacpan.org/authors/id/N/NE/NEILB/Carp-Assert-$pkgver.tar.gz")
+md5sums=(72e75c152cc354420719fc9728deec71)
+sha512sums=(9fb96ebaf03a86edcd0262b5216b345839dc99e504738e52f883932e425cac33470fcb0e8e4653488c0d8e63e9904af311056213c63ae40bc3935eec4c0410a0)
+_ddir="Carp-Assert-$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