blob: 84a08f1285bb34ca7a5a1ee9b4f800b395fe39d3 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-b-hooks-endofscope
_pkgreal=B-Hooks-EndOfScope
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.26
pkgrel=0
pkgdesc="Execute Perl code after a scope finished compilation"
url="https://metacpan.org/release/B-Hooks-EndOfScope"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl-module-implementation perl-sub-exporter-progressive perl-sub-name
perl-variable-magic perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="e7333f061889d5d97cd793ad557ec1a2c5a918c977f1af22ce004d5d67f7781fcf171f427c31ed6a2a2d02d12e6ad3e15e1c80cad498f83263ff384ab0ec297c B-Hooks-EndOfScope-0.26.tar.gz"
|