aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-moosex-types-uri/APKBUILD
blob: d43f2e0468adbfa6648ccb9d1c40d2f953dfe76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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=1
pkgdesc="URI related types and coercions for Moose"
url="https://metacpan.org/release/MooseX-Types-URI/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl-namespace-autoclean perl-moosex-types-path-class perl-uri-fromhash perl-moosex-types perl-uri"
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-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"