summaryrefslogblamecommitdiff
path: root/user/perl-test2-suite/APKBUILD
blob: 08b494a39c8da2b46926a50809093d3066dc7538 (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.000145
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="3e6725542351549eebd5064cab161671d172953ec4261e520f72d6de0604890f779daa349fcd45c7832f5184bf42e19ca1e6e095ad0f4e66fe660f5303bffcad  Test2-Suite-0.000145.tar.gz"