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



                               
           



                                                              
                                       
                                                                               
                                 

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                             
# 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.28
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="692d6ccc5d86f4fdd23491983ec4358a0be61d9ed23ab2e9a0b767395482447c44ff1a78e10ce72f393f542db3879712bc3077e74dbab13d902c302cae3750fe  B-Hooks-EndOfScope-0.28.tar.gz"