diff options
Diffstat (limited to 'user/perl-test-number-delta')
-rw-r--r-- | user/perl-test-number-delta/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-number-delta/APKBUILD b/user/perl-test-number-delta/APKBUILD new file mode 100644 index 000000000..a7735b63f --- /dev/null +++ b/user/perl-test-number-delta/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-test-number-delta +_pkgreal=Test-Number-Delta +_author=DAGOLDEN +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=1.06 +pkgrel=0 +pkgdesc="Compares the difference between numbers against a given tolerance" +url="https://metacpan.org/pod/Test::Number::Delta" +arch="noarch" +license="Apache-2.0" +depends="perl" +makedepends="" +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="87d64aad1ffc180ac9105d8f80aa1086ae9f6d11d7fead6f77daca6b0440320ed49dc628bed88b67836c091116fa43402b4a902e8319997fbad7a0fa19edfd79 Test-Number-Delta-1.06.tar.gz" |