summaryrefslogblamecommitdiff
path: root/user/perl-test2-suite/APKBUILD
blob: 5245a350415d007ccfbe6e39478771c3475d77bf (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.000159
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="ab132e87f0db5dde0ebd95b260236d95120445c89db497e92519335e989d8571481f2497898cd5fae25cb2065db1aa8902a9f2d37cf2163475caca1298629a3f  Test2-Suite-0.000159.tar.gz"