# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-moosex-types-path-class _pkgreal=MooseX-Types-Path-Class pkgver=0.09 pkgrel=0 pkgdesc="A Path::Class type library for Moose" url="https://metacpan.org/release/MooseX-Types-Path-Class/" arch="noarch" license="GPL-1.0-or-later Artistic-1.0-Perl" cpandepends="perl-path-class perl-moosex-types" cpancheckdepends="perl-test-needs perl-moose" depends="$cpandepends" makedepends="perl-devel-overloadinfo perl-module-build-tiny perl-dev $cpanmakedepends" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-Path-Class-$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="d61f72957431852903d99257b2d9f53f88702d4d314297192345896aeb1df86ab4d80767a1d0fad76fb23b561925aae076bfda80106e3f7d0f2d8093956bdc9e MooseX-Types-Path-Class-0.09.tar.gz"