diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 00:51:19 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 00:51:19 +0000 |
commit | 6464bd9b9b3183ae4bdd9c753e11d88b0ec61b05 (patch) | |
tree | b79d7daec867e9471f1761c6d07096009b9eafd7 /user | |
parent | 70f49bc6d1148db3189cc9b7eae2694b43ca8dcd (diff) | |
download | packages-6464bd9b9b3183ae4bdd9c753e11d88b0ec61b05.tar.gz packages-6464bd9b9b3183ae4bdd9c753e11d88b0ec61b05.tar.bz2 packages-6464bd9b9b3183ae4bdd9c753e11d88b0ec61b05.tar.xz packages-6464bd9b9b3183ae4bdd9c753e11d88b0ec61b05.zip |
user/perl-test-time: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-test-time/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <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" |