# 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=1.999 pkgrel=0 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=" d57b3e14b906cb765e2677854899dfdc451b29a74cb44be3336269c452378b5bc36d7f07bafd86ef6f756958abc75e3449c9f35cfadf011b4fa406609be0ea59 Redis-1.999.tar.gz "