diff options
author | Timothy Legge <timlegge@gmail.com> | 2019-04-21 21:50:59 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-22 21:05:21 +0000 |
commit | 13326724cf35c8fba7906236feee9c039b635bbc (patch) | |
tree | f27790c30f07485ad1abc33a314eb8171625a285 /testing/perl-moosex-types-uri | |
parent | 47b6cf726fbab12c8e797923853ba05b686d9433 (diff) | |
download | aports-13326724cf35c8fba7906236feee9c039b635bbc.tar.bz2 aports-13326724cf35c8fba7906236feee9c039b635bbc.tar.xz |
testing/perl-moosex-types-uri: new aport
Diffstat (limited to 'testing/perl-moosex-types-uri')
-rw-r--r-- | testing/perl-moosex-types-uri/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-moosex-types-uri/APKBUILD b/testing/perl-moosex-types-uri/APKBUILD new file mode 100644 index 0000000000..84308c5bda --- /dev/null +++ b/testing/perl-moosex-types-uri/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timothy Legge <timlegge@gmail.com> +# Maintainer: Timothy Legge <timlegge@gmail.com> +pkgname=perl-moosex-types-uri +_pkgreal=MooseX-Types-URI +pkgver=0.08 +pkgrel=0 +pkgdesc="URI related types and coercions for Moose" +url="https://metacpan.org/release/MooseX-Types-URI/" +arch="noarch" +license="GPL-1.0-or-later Artistic-1.0-Perl" +cpandepends="perl-namespace-autoclean perl-moosex-types-path-class perl-uri-fromhash perl-moosex-types perl-uri" +cpanmakedepends="" +cpancheckdepends="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-URI-$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="0cf93dd965b618963945a1783af70c40389ca58818f0ea6ee7f168b70dadca5d332fd9391522fcaabb8e1d9e4baaa1b59606865db05a21a5ee548ccac1e08ed6 MooseX-Types-URI-0.08.tar.gz" |