summaryrefslogblamecommitdiff
path: root/user/perl-carp-clan/APKBUILD
blob: eaa8967e92dfe397ededdcf670504fc27eea3fdc (plain) (tree)
1
2
3
4
5
6
7
8
                                             
                                                          
                      



                               
           



                                            
                                       
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                    
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-carp-clan
_pkgreal=Carp-Clan
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.08
pkgrel=0
pkgdesc="Report modules as a 'clan' in Perl"
url="https://metacpan.org/pod/Carp::Clan"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
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="bc7f74d75e1eae0f528d530b47f1841493aae7eecdeeb58f85f5d8ef7a5b4d92c479b45468d0e7175f228056295d3d7159a7b404fecd542cf04c75ddc3a9886f  Carp-Clan-6.08.tar.gz"