summaryrefslogblamecommitdiff
path: root/user/perl-b-hooks-endofscope/APKBUILD
blob: 1934140e9e460e0e7b7eecadf4a6d99f628a69e1 (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               





                                                                               
                                 
                          
                                                                                        
         



                                                                 


                 



                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-b-hooks-endofscope
_pkgreal=B-Hooks-EndOfScope
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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 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="5c061a81a3fed88ad868a14a1f817f7952b2f0c9512408174354e0ecf7e3caa5d646054cf75efa8b8c558e6241a8dfebf9400e8826021bdb5cbdf3a00065b147  B-Hooks-EndOfScope-0.24.tar.gz"