# Maintainer: Sergej Pupykin # Maintainer: Martin Imobersteg pkgname=perl-crypt-smbhash pkgver=0.12 pkgrel=10 pkgdesc="Perl/CPAN Module Crypt::SmbHash : Perl-only implementation of lanman and nt md4 hash functions, for use in Samba style smbpasswd entries." arch=("any") url="https://search.cpan.org/dist/Crypt-SmbHash/SmbHash.pm" license=("GPL") source=('https://search.cpan.org/CPAN/authors/id/B/BJ/BJKUIT/Crypt-SmbHash-0.12.tar.gz') sha256sums=('68c4ac7eabfa957dcf894c2c23bcec096f87e8cf06dedfcbbf702e5531dbb137') build() { cd "$srcdir"/Crypt-SmbHash-0.12 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir"/Crypt-SmbHash-0.12 make pure_install doc_install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete }