blob: f8c9014d63ce562ab6e3f973fdc6639315da4087 (
plain)
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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-sharedfork
pkgver=0.35
pkgrel=1
pkgdesc="Test::SharedFork perl module"
url="https://metacpan.org/release/Test-SharedFork"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-test-requires"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-SharedFork-$pkgver.tar.gz"
builddir="$srcdir"/Test-SharedFork-$pkgver
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make install DESTDIR=$pkgdir
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="e5948dfb34cfaf35a2fb2783c726f1cea2ae2f4bbdc4cbb912f83c877422ceabb3e0323c8c669b3c3a08e6d2a12106309528f0f674657001e6aeb3cb3c1dfd9f Test-SharedFork-0.35.tar.gz"
|