blob: 1be5ffa0231315fc9c2785e7977a3b602cd9e615 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-tcp
_pkgname=Test-TCP
pkgver=2.19
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/T/TO/TOKUHIROM/Test-TCP-$pkgver.tar.gz"
builddir="$srcdir/Test-TCP-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="1de76f5dc456697d8ea0799bb60d858b0e1c0089f066d1a446c46708e6cb3441849e264526082a066c31519ded4731cde9310b8a493f571ed670c2fbb60a3e85 Test-TCP-2.19.tar.gz"
|