aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-metrics-any/APKBUILD
blob: 77194fb7edde6aa782461a8993bac405edb0b0e1 (plain) (tree)
1
2
3
4
5
6
7
8





                                                              

           




                                                   
                               



















                                                                                    


                                                                                                                                                         
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-metrics-any
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Metrics-Any
pkgver=0.07
pkgrel=0
pkgdesc="abstract collection of monitoring metrics"
url="https://metacpan.org/release/Metrics-Any/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-module-build"
checkdepends="perl-test-fatal"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Metrics-Any-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	perl Build.PL --installdirs=vendor
	./Build
}

check() {
	./Build test
}

package() {
	./Build install --destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="
69eb7c029ed89497ee3a19bbf0547fbfa0b23a3a0e64768497fecc8bd27b3c45c65b672c9bf834b6480742a3b2ae383d3f0363439887a88d3ad6ba7503fee40f  Metrics-Any-0.07.tar.gz
"