summaryrefslogtreecommitdiff
path: root/user/perl-carp-clan/APKBUILD
blob: 3a404d9f912c93868fde47ce87a0aca5674d6d3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-carp-clan
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"
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() {
	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"