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

                                                                   
            



                                                                    
                                            



                                                                                             



                                                                 


                 


                                                                           
                                                                                                                                                                                
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-bareword-filehandles
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/I/IL/ILMARI/bareword-filehandles-$pkgver.tar.gz"
builddir="$srcdir/bareword-filehandles-$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"