From 6464bd9b9b3183ae4bdd9c753e11d88b0ec61b05 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 00:51:19 +0000 Subject: user/perl-test-time: new package --- user/perl-test-time/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-test-time/APKBUILD (limited to 'user') diff --git a/user/perl-test-time/APKBUILD b/user/perl-test-time/APKBUILD new file mode 100644 index 000000000..f1b847587 --- /dev/null +++ b/user/perl-test-time/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2