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

Felix Yan felixonmars at archlinux.org
Sat Aug 26 17:51:47 UTC 2017


    Date: Saturday, August 26, 2017 @ 17:51:46
  Author: felixonmars
Revision: 254249

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 254248, perl-b-hooks-endofscope/trunk/PKGBUILD)

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

Copied: perl-b-hooks-endofscope/repos/community-staging-any/PKGBUILD (from rev 254248, perl-b-hooks-endofscope/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 17:51:46 UTC (rev 254249)
@@ -0,0 +1,41 @@
+# $Id$
+# 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.21
+pkgrel=3
+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="http://search.cpan.org/~bobtfish/B-Hooks-EndOfScope-$pkgver/"
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-$pkgver.tar.gz")
+sha256sums=('90f3580880f1d68b843c142cc86f58bead1f3e03634c63868ac9eba5eedae02c')
+
+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