testing/perl-uri-tcp: new aport

https://metacpan.org/release/URI-tcp/
TCP connection string
This commit is contained in:
Celeste 2024-01-12 05:57:14 +00:00 committed by omni
parent d490cf8129
commit dc56ea68ce

View File

@ -0,0 +1,37 @@
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
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
"