summaryrefslogblamecommitdiff
path: root/user/perl-test2-suite/APKBUILD
blob: 3b70acba0ab9daf336e6e9514ac93df3597d3752 (plain) (tree)
1
2
3
4
5
6
7
8

                                                           
                        



                               
               



                                                           
                                       
                                                                  
                                                                


                                                          
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                          
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test2-suite
_pkgreal=Test2-Suite
_author=EXODIST
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.000156
pkgrel=0
pkgdesc="Collection of Perl modules in the Test2 namespace"
url="https://metacpan.org/pod/Test2::Suite"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-importer perl-module-pluggable perl-scope-guard
	perl-sub-info perl-term-table perl-test-simple>=1.302176

	perl-sub-name perl-term-readkey perl-term-size-any
	perl-unicode-linebreak"
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="10f5502d109a1f12e9d37d0431424b6d88cdbbecf298e6fca3737610ba157064cd1f846f3b6f6eac0efc8af259e572d51330c037296d954fdf2561b8514686ee  Test2-Suite-0.000156.tar.gz"