blob: 0d9d641c270b90144e4c6105db54a800220cf490 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-b-hooks-endofscope
pkgver=0.24
pkgrel=0
pkgdesc="Execute Perl code after a scope finished compilation"
url="https://metacpan.org/release/B-Hooks-EndOfScope"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl-module-implementation perl-sub-exporter-progressive perl-sub-name
perl-variable-magic"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-$pkgver.tar.gz"
builddir="$srcdir/B-Hooks-EndOfScope-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="5c061a81a3fed88ad868a14a1f817f7952b2f0c9512408174354e0ecf7e3caa5d646054cf75efa8b8c558e6241a8dfebf9400e8826021bdb5cbdf3a00065b147 B-Hooks-EndOfScope-0.24.tar.gz"
|