summaryrefslogblamecommitdiff
path: root/user/perl-devel-overloadinfo/APKBUILD
blob: f68e63fa660ef3b4b62193edf1e46faaf9729115 (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-devel-overloadinfo
_pkgreal=Devel-OverloadInfo
_author=ILMARI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.007
pkgrel=0
pkgdesc="Introspect overloaded Perl operators"
url="https://metacpan.org/release/Devel-OverloadInfo"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-mro-compat perl-package-stash perl-sub-identify"
checkdepends="perl-test-fatal"
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="4db830d6f9edb467626213ab4d45b3e4b8fa9b3c38fad1349233f7b420d08be42833e57daa9a8076f4127cafba92f4cfc177ca33bd19cf2a582b644ac1ae7d72  Devel-OverloadInfo-0.007.tar.gz"