# Automatically generated by apkbuild-cpan, template 3 # Contributor: Michael Pirogov # Maintainer: Michael Pirogov pkgname=perl-redis #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Redis pkgver=2.000 pkgrel=1 pkgdesc="Perl binding for Redis database" url="https://metacpan.org/release/Redis/" arch="noarch !armv7 !x86 !armhf" # perl-io-socket-timeout missing license="Artistic-2.0" depends="perl perl-io-socket-timeout perl-try-tiny" makedepends="perl-module-build-tiny perl-module-build" checkdepends="perl-test-tcp perl-test-deep perl-io-string perl-test-sharedfork perl-test-fatal" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DA/DAMS/Redis-$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=" 9848efc9c9318131e9126e0e59c137b4524e70f3fb5414e05bfd5eb5ad7a516727404287b1ad91339e9cc7256b905e013739bcc9dd0b98b15897a453eddc6a15 Redis-2.000.tar.gz "