# Contributor: Kiyoshi Aman # Maintainer: Adélie Perl Team pkgname=perl-indirect pkgver=0.38 pkgrel=0 pkgdesc="Perl module for lexically warning about indirect method calls" url="https://metacpan.org/pod/indirect" arch="all" license="Artistic-1.0-Perl" depends="" makedepends="perl-dev perl-extutils-depends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/V/VP/VPIT/indirect-$pkgver.tar.gz" builddir="$srcdir/indirect-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="1ae363d2b2961be8495168a870bf941953a7845b0f3e9c7e9b267affc0b0392e1747ca4edd484ac98ddeef70b1a1cf28672bf1b9289847cb193409914e2f4673 indirect-0.38.tar.gz"