summaryrefslogblamecommitdiff
path: root/user/perl-test-sharedfork/APKBUILD
blob: d1dcce3d4e47d7d3ec82c6663b607d148ed45125 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               





                                                  
              
                                 
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-sharedfork
_pkgreal=Test-SharedFork
_author=EXODIST
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.35
pkgrel=0
pkgdesc="Fork during Perl tests"
url="https://metacpan.org/release/Test-SharedFork"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl"
checkdepends="perl-test-requires"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="e5948dfb34cfaf35a2fb2783c726f1cea2ae2f4bbdc4cbb912f83c877422ceabb3e0323c8c669b3c3a08e6d2a12106309528f0f674657001e6aeb3cb3c1dfd9f  Test-SharedFork-0.35.tar.gz"