1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Charles Mauch <cmauch@gmail.com>
7 pkgdesc="Perl/CPAN Module IO::Digest"
9 url="https://search.cpan.org/~clkao/IO-Digest/"
10 license=("GPL" "PerlArtistic")
11 depends=('perl' 'perlio-via-dynamic')
12 source=("https://www.cpan.org/authors/id/C/CL/CLKAO/IO-Digest-$pkgver.tar.gz")
13 sha256sums=('8ffcf85a7f6213e5e94140adcc2b179ed02498eadc84309457e904dec93f7f92')
16 cd "$srcdir"/IO-Digest-$pkgver
17 PERL_USE_UNSAFE_INC=1 \
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23 cd "$srcdir"/IO-Digest-$pkgver
24 make install DESTDIR="$pkgdir"
25 find "$pkgdir" -name '.packlist' -delete
26 find "$pkgdir" -name '*.pod' -delete