1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Martin Imobersteg <imm@gmx.ch>
4 pkgname=perl-crypt-smbhash
7 pkgdesc="Perl/CPAN Module Crypt::SmbHash : Perl-only implementation of lanman and nt md4 hash functions, for use in Samba style smbpasswd entries."
9 url="https://search.cpan.org/dist/Crypt-SmbHash/SmbHash.pm"
11 source=('https://search.cpan.org/CPAN/authors/id/B/BJ/BJKUIT/Crypt-SmbHash-0.12.tar.gz')
12 sha256sums=('68c4ac7eabfa957dcf894c2c23bcec096f87e8cf06dedfcbbf702e5531dbb137')
15 cd "$srcdir"/Crypt-SmbHash-0.12
16 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21 cd "$srcdir"/Crypt-SmbHash-0.12
22 make pure_install doc_install DESTDIR="$pkgdir"
23 find "$pkgdir" -name '.packlist' -delete
24 find "$pkgdir" -name '*.pod' -delete