# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=perl-md5 _pkgname=MD5 pkgver=2.03 pkgrel=9 pkgdesc='Perl interface to the MD5 Message-Digest Algorithm.' arch=('any') url='http://search.cpan.org/~gaas/MD5-2.03/MD5.pm' license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgname-$pkgver.tar.gz") sha512sums=('592a9c70f09cf2f3a3112d72e348d39c1522822dfd19f10b446eb83cdd0ab74c6609bd2a3609f4c7d32e7c08171be01940845f89f814621ddc608ce6d30bc0e9') build() { cd "$_pkgname-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor && make } package() { cd "$_pkgname-$pkgver" make DESTDIR="$pkgdir" install find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete }