summaryrefslogblamecommitdiff
path: root/user/perl-bareword-filehandles/APKBUILD
blob: 02f04dbd96606c008452c206c8b09f6f4354716d (plain) (tree)
1
2
3
4
5
6
7
8
                                                         

                                                                   



                               
            




                                                                    

                                            
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                                
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-bareword-filehandles
_pkgreal=bareword-filehandles
_author=ILMARI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.007
pkgrel=0
pkgdesc="Perl module for disabling support for bareword filehandles"
url="https://metacpan.org/pod/bareword::filehandles"
arch="all"
license="Artistic-1.0-Perl"
depends="perl-b-hooks-op-check"
makedepends="perl-dev perl-extutils-depends"
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="e7bd4e2ce32b819086050d1619806a5ffedb08732a25a8786dc70f6c8bea3cb3dab2bcced2d5f02f8248ca816dcccdaa2a20c6c943dc5667f334e9e319dbee6d  bareword-filehandles-0.007.tar.gz"