summaryrefslogblamecommitdiff
path: root/user/perl-class-inspector/APKBUILD
blob: 8c1cb48ae51ceecf434f779ad78e322824369dda (plain) (tree)
1
2
3
4
5
6
7
8

                                                                   


                               
           



                                                  
              
                          
                                                                                        
         



                                                                 


                 


                                                                           
                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-class-inspector
_pkgreal=Class-Inspector
_author=PLICEASE
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.36
pkgrel=0
pkgdesc="Inspect Perl classes and structures"
url="https://metacpan.org/release/Class-Inspector"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="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="488fcdbc9d135ed833331b0d5feb452997f35400b185341be69996438c278961eeb543648a629940765e779ca5cc87c5c3aa2c61a7fac12d2ecf6c599b68715a  Class-Inspector-1.36.tar.gz"