summaryrefslogblamecommitdiff
path: root/user/perl-test2-suite/APKBUILD
blob: e0a2560a73a5b97831842db45bd3623d65fa34d3 (plain) (tree)
1
2
3
4


                                                                   
               















                                                                                     




                                                                 



                 



                                                                           
                                                                                                                                                                          
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test2-suite
pkgver=0.000122
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"
depends="perl perl-importer perl-module-pluggable perl-scope-guard
	perl-sub-info perl-term-table perl-test-simple

	perl-sub-name perl-term-readkey perl-term-size-any
	perl-unicode-linebreak"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test2-Suite-$pkgver.tar.gz"
builddir="$srcdir/Test2-Suite-$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="6332b4300ad37d16378a37a931f470b33c4c82603e4e0b3a0c42c707c75a735908001daecc47ed73361635aabd65c0909f37a74d731bc958f4345ea75207dab2  Test2-Suite-0.000122.tar.gz"