summaryrefslogblamecommitdiff
path: root/user/perl-test-script/APKBUILD
blob: 47a095d438729b2d642ba582f82a8f841cf48773 (plain) (tree)
1
2
3
4
5
6
7
8
                                                 

                                                                   



                               
           




                                                       

                                                                 
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                      
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-script
_pkgreal=Test-Script
_author=PLICEASE
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.26
pkgrel=0
pkgdesc="Perl module for cross-platform script testing"
url="https://metacpan.org/pod/Test::Script"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl perl-capture-tiny perl-probe-perl perl-test2-suite"
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="9cca12ff9cb8de394cac760da16b39d371a70fa9624adc8d4e97ee45f0b18ccb41add99716ed6a969aaeb2df5ee3f1aa7cb287e2d93ee8533c89bbd0cf6b2c96  Test-Script-1.26.tar.gz"