mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-test-deep-fuzzy
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Deep-Fuzzy
|
|
pkgver=0.01
|
|
pkgrel=0
|
|
pkgdesc="fuzzy number comparison with Test::Deep"
|
|
url="https://metacpan.org/release/Test-Deep-Fuzzy/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-test-deep perl-math-round"
|
|
makedepends="perl-module-build-tiny perl-module-build"
|
|
checkdepends="perl-test-deep"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/K/KA/KARUPA/Test-Deep-Fuzzy-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="424aa135c0eda4ae09dec630656ebb5f14ce4521d90867e3383146eecd59db269fdffa3116e8b6db0cc6dba07f19a844925f4c8ca890f699d9dc407afa9e1e85 Test-Deep-Fuzzy-0.01.tar.gz"
|