ayaports/user/perl-net-domain-tld/APKBUILD

35 lines
901 B
Text
Raw Normal View History

2023-01-11 13:23:51 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
_cpaname="Net-Domain-TLD"
_cpanauthor=ALEXP
pkgname=perl-net-domain-tld
pkgver=1.75
pkgrel=0
pkgdesc="Work with TLD names"
arch="noarch"
url="http://search.cpan.org/dist/$cpaname/"
license="GPL"
depends="perl"
source="http://www.cpan.org/authors/id/${_cpanauthor::1}/${_cpanauthor::2}/$_cpanauthor/$_cpaname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir"/$_cpaname-$pkgver
build() {
export PERL_MM_FALLBACK_SILENCE_WARNING=true
perl Makefile.PL
make
}
check() {
make test
}
package() {
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
rm "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod
}
sha512sums="
88b090f427e7fccd8394059b643f260a83fe9ec3fd6741972ec388325bb8c178d9d89fc8da9b1338441972e6744117c4effe3551c2c3f95d52022496667fa4f1 Net-Domain-TLD-1.75.tar.gz
"