# Automatically generated by apkbuild-cpan, template 4 # Maintainer: Celeste maintainer="Celeste " pkgname=perl-uri-tcp #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=URI-tcp pkgver=2.0.0 pkgrel=0 pkgdesc="TCP connection string" url="https://metacpan.org/release/URI-tcp/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-uri" makedepends="perl-module-build-tiny" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/J/JA/JASEI/URI-tcp-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL \ --installdirs=vendor \ --create_packlist=0 ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" } sha512sums=" 9efbd6f60984474bbb62a1519abbe10aa357bb4107626fbbe21f39987f11ffd800803f0d91cebfb58b1f51174a69b871d96da66481ab2d122158bea63079bb50 URI-tcp-2.0.0.tar.gz "