summaryrefslogblamecommitdiff
path: root/user/perl-carp-clan/APKBUILD
blob: 619aec72e29d93ab3d25921057337149f68884a1 (plain) (tree)































                                                                                                                                                                    
# Contributor: Alyx Wolcott <alyx@leuhta.com> 
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-carp-clan
pkgver=6.07
pkgrel=0
pkgdesc="Report modules as a 'clan' in Perl"
url="https://metacpan.org/pod/Carp::Clan"
arch="noarch"
license="Artistic-1.0-Perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Carp-Clan-$pkgver.tar.gz"
builddir="$srcdir/Carp-Clan-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="0180c2bd2ffe9f2b6c23d7e76bf3dd8ceeacfc842b09c2dab2f81d002ff7235ce2d145e53c55e375cb889291577cfcd4cb9be34b5445ae532cb9768979c57e41  Carp-Clan-6.07.tar.gz"