Skip to content
Snippets Groups Projects
Commit acd5effe authored by Celeste's avatar Celeste Committed by omni
Browse files

testing/perl-data-validate-domain: new aport

https://metacpan.org/release/Data-Validate-Domain/
Domain and host name validation
parent 8c5c5918
No related branches found
No related tags found
1 merge request!58891testing/perl-openapi-client: new aport
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-data-validate-domain
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Data-Validate-Domain
pkgver=0.15
pkgrel=0
pkgdesc="Domain and host name validation"
url="https://metacpan.org/release/Data-Validate-Domain/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-net-domain-tld"
checkdepends="perl-test2-suite"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Data-Validate-Domain-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
76cfae536841e69f3694f2cf88321718ffbafa0376faec6763f295650c67e550c90c640a444616482acf7175337a646f80938255eeb32204f827a891a91d0195 Data-Validate-Domain-0.15.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment