PKGBUILDs/community/perl-io-digest/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
769 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-io-digest
pkgver=0.10
pkgrel=3
pkgdesc="Perl/CPAN Module IO::Digest"
arch=("i686" "x86_64")
url="http://search.cpan.org/~clkao/IO-Digest/"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/IO-Digest-0.10.tar.gz")
md5sums=('0448841e0559c2c19c7e8001ef087e26')
makedepends=("perlio-via-dynamic")
depends=("perlio-via-dynamic")
build() {
cd $startdir/src/IO-Digest-0.10
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}