summaryrefslogblamecommitdiff
path: root/user/perl-test-deep/APKBUILD
blob: 422c9318536c0045cfa752c05fe30af6a38eb44b (plain) (tree)
1
2
3
4
5
6
7
8
                                       
                                                          
                      



                               
            



                                            
                                       
              
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                     
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-deep
_pkgreal=Test-Deep
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.204
pkgrel=0
pkgdesc="Extremely flexible deep comparison"
url="https://metacpan.org/pod/Test::Deep"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
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="1a11b221810b7b23a6d3f71546e264ea3636fa36c73def760f756da69e6937ca3e1c1123505b80241360459d09fc4b9ab614d1c6826593695f6577f60595a8ae  Test-Deep-1.204.tar.gz"