# Automatically generated by apkbuild-cpan, template 3 # Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=perl-code-tidyall-plugin-eslint #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Code-TidyAll-Plugin-ESLint pkgver=1.000000 pkgrel=1 pkgdesc="Use eslint with tidyall" url="https://metacpan.org/release/Code-TidyAll-Plugin-ESLint/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-code-tidyall perl-moo perl-ipc-run3" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/Code-TidyAll-Plugin-ESLint-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" cfeb85e286bad2496e31d6a4f0f627aa556d4480e4130af5826d78940a4d9e87dec6a309191688c1936a03980d2371a6072ad0e3c255880fcd5ccbefba7758aa Code-TidyAll-Plugin-ESLint-1.000000.tar.gz "