blob: d389395864d3fa4930399a0ea6bf438c88af97ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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.20
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/M/MI/MIYAGAWA/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="acd8c58f64f5a6d99468898a7ddd00485ff7cc9f1d992b93011692c16c467576ea39376f14401b637dc05463ae03c7cd8ea456be03fb39175b40202e7c4d6334 Test-TCP-2.20.tar.gz"
|