Skip to content
Snippets Groups Projects
Verified Commit 6464bd9b authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/perl-test-time: new package

parent 70f49bc6
No related branches found
No related tags found
No related merge requests found
# 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.07
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() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="b5ad87ea43eaae6b474be4aa7d153fe89bb9cc86254257e68073ff214b901846096037634a8d73b1e0852d5bf51fbee58e32c742c0726702ddb06d79679a65f9 Test-Time-0.07.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment