aports/testing/perl-uri-tcp/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

37 lines
1,006 B
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: 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
"