summaryrefslogblamecommitdiff
path: root/user/perl-test-time/APKBUILD
blob: 4390a2d89dc7cc99fff3a2a372fa8a349388691d (plain) (tree)
1
2
3
4
5



                                                                   
           











                                                                                 




                                                                 



                 



                                                                           
                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-time
_pkgname=Test-Time
pkgver=0.08
pkgrel=0
pkgdesc="Override Perl functions for testing"
url="https://metacpan.org/release/Test-Time"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends=""
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SA/SATOH/Test-Time-$pkgver.tar.gz"
builddir="$srcdir/Test-Time-$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="77f77f0f3aab033e1dd02c92ebae734a496e8c2e070f908ee73a70197971839009118f10c2e0ff2562172f4da62262eb2d67a05796c9dc77a46efaa9113f99df  Test-Time-0.08.tar.gz"