description="Perl interface to the SHA-1 Algorithm"
url="http://search.cpan.org/"

packager="Great-OS Team"

makedepends=(perl)
run=(perl)

name=perl-digest-sha1
version=2.13
release=3

source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-$version.tar.gz)

build() {
cd Digest-SHA1-$version

perl Makefile.PL INSTALLDIRS=vendor

make
make DESTDIR=$PKG install

find $PKG -iname '*.pod' -or \
     -name '.packlist' -or \
     -name 'perllocal.pod' | xargs rm
}
