diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:34:52 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:34:52 (GMT) |
commit | 70d278ebe6e7523bce9e3b66b20ede9df0c632ad (patch) | |
tree | 927fcbf91af57d37ae527803e0fa9f478042307c /abs | |
parent | 1a35aa78d8b4e8f814ce82b09577a2a940dfae04 (diff) | |
download | linhes_pkgbuild-70d278ebe6e7523bce9e3b66b20ede9df0c632ad.zip linhes_pkgbuild-70d278ebe6e7523bce9e3b66b20ede9df0c632ad.tar.gz linhes_pkgbuild-70d278ebe6e7523bce9e3b66b20ede9df0c632ad.tar.bz2 |
perl-sub-exporter-progressive: initial
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-b-hooks-endofscope/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-b-hooks-endofscope/PKGBUILD b/abs/core/perl_modules/perl-b-hooks-endofscope/PKGBUILD new file mode 100644 index 0000000..5a8c040 --- /dev/null +++ b/abs/core/perl_modules/perl-b-hooks-endofscope/PKGBUILD @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com> +# Contributor: aurperl@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 +} |