summaryrefslogblamecommitdiff
path: root/user/perl-test-tcp/APKBUILD
blob: 029b506b9a19bfefc3bd6a59c61b7b1fe3504f44 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                   



                               







                                                 
                                                                                       


                                   




                                                                 



                 



                                                                           
                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-tcp
_pkgname=Test-TCP
_author=MIYAGAWA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.22
pkgrel=0
pkgdesc="Testing library for Perl code using TCP"
url="https://metacpan.org/release/Test-TCP"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-test-sharedfork"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/Test-TCP-$pkgver.tar.gz"
builddir="$srcdir/Test-TCP-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2e0c8cf710f9702eee9b00422d7133efe87575805361d72becd2c3de671c765baf84827b601d26091e8a6b8595e6d9f168f90b7cfda402d668deb6fc277e37ad  Test-TCP-2.22.tar.gz"