[arch-commits] Commit in perl-b-hooks-endofscope/repos (2 files)

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


    Date: Sunday, May 29, 2022 @ 11:33:55
  Author: foutrelis
Revision: 1214375

archrelease: copy trunk to community-staging-any

Added:
  perl-b-hooks-endofscope/repos/community-staging-any/
  perl-b-hooks-endofscope/repos/community-staging-any/PKGBUILD
    (from rev 1214374, perl-b-hooks-endofscope/trunk/PKGBUILD)

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

Copied: perl-b-hooks-endofscope/repos/community-staging-any/PKGBUILD (from rev 1214374, perl-b-hooks-endofscope/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 11:33:55 UTC (rev 1214375)
@@ -0,0 +1,40 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: aurperl at juster.us
+
+pkgname="perl-b-hooks-endofscope"
+_cpanname="B-Hooks-EndOfScope"
+pkgver=0.24
+pkgrel=5
+pkgdesc="Execute code after a scope finished compilation"
+arch=("any")
+license=("PerlArtistic" "GPL")
+options=("!emptydirs")
+depends=("perl-module-implementation"
+	 "perl-module-runtime"
+	 "perl-sub-exporter"
+	 "perl-sub-exporter-progressive"
+	 "perl-try-tiny"
+	 "perl-variable-magic>=0.34"
+	 "perl>=5.5.0")
+url="https://search.cpan.org/~bobtfish/B-Hooks-EndOfScope-$pkgver/"
+source=("https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-$pkgver.tar.gz")
+sha256sums=('03aa3dfe5d0aa6471a96f43fe8318179d19794d4a640708f0288f9216ec7acc6')
+
+build() {
+	cd "$srcdir"/B-Hooks-EndOfScope-$pkgver
+	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+	make
+}
+
+check() {
+	cd "$srcdir"/B-Hooks-EndOfScope-$pkgver
+	make test
+}
+
+package() {
+	cd "$srcdir"/B-Hooks-EndOfScope-$pkgver
+	make install DESTDIR="$pkgdir"
+	# Remove "perllocal.pod" and ".packlist".
+	find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list