diff options
author | Timothy Legge <timlegge@gmail.com> | 2020-02-26 00:08:00 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2020-02-27 00:03:26 +0000 |
commit | 843b013d94dd3d4c0e8a6fd733c2d39047bccc32 (patch) | |
tree | 004bea3ae1576c006dbd3c3284de038afaa19815 /community/perl-moosex-types-path-class | |
parent | b7e9a7b85fbaf47ba471ac6aeec572880bffdc0d (diff) | |
download | aports-843b013d94dd3d4c0e8a6fd733c2d39047bccc32.tar.bz2 aports-843b013d94dd3d4c0e8a6fd733c2d39047bccc32.tar.xz |
community/perl-moosex-types-path-class: move from testing
Diffstat (limited to 'community/perl-moosex-types-path-class')
-rw-r--r-- | community/perl-moosex-types-path-class/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/perl-moosex-types-path-class/APKBUILD b/community/perl-moosex-types-path-class/APKBUILD new file mode 100644 index 0000000000..49aa724f01 --- /dev/null +++ b/community/perl-moosex-types-path-class/APKBUILD @@ -0,0 +1,34 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge <timlegge@gmail.com> +# Maintainer: Timothy Legge <timlegge@gmail.com> +pkgname=perl-moosex-types-path-class +_pkgreal=MooseX-Types-Path-Class +pkgver=0.09 +pkgrel=1 +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 OR Artistic-1.0-Perl" +depends="perl-path-class perl-moosex-types" +checkdepends="perl-test-needs" +makedepends="perl-devel-overloadinfo perl-module-build-tiny perl-dev" +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" |