archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-io-digest / trunk / PKGBUILD
blob4e534242609496544aa6ca284dfbabf601ea2ca7
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Charles Mauch <cmauch@gmail.com>
4 pkgname=perl-io-digest
5 pkgver=0.11
6 pkgrel=8
7 pkgdesc="Perl/CPAN Module IO::Digest"
8 arch=("any")
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')
15 build() {
16   cd "$srcdir"/IO-Digest-$pkgver
17   PERL_USE_UNSAFE_INC=1 \
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 package() {
23   cd "$srcdir"/IO-Digest-$pkgver
24   make install DESTDIR="$pkgdir"
25   find "$pkgdir" -name '.packlist' -delete
26   find "$pkgdir" -name '*.pod' -delete