mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-12 13:26:15 +02:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-test-metrics-any
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Metrics-Any
|
|
pkgver=0.01
|
|
pkgrel=2
|
|
pkgdesc="assert that code produces metrics via L<Metrics::Any>"
|
|
url="https://metacpan.org/release/Test-Metrics-Any/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-metrics-any"
|
|
makedepends="perl-module-build"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Test-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="7102a8bf5c38bb186c648e2544a01914605e7d5e88ef8a848c301f39eca94af1823b2b40889bc9aabb4fd94573191896e2726f495a7ff03b9ab241d81cd4f304 Test-Metrics-Any-0.01.tar.gz"
|