# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=hsxkpasswd pkgver=3.6 pkgrel=0 pkgdesc="Generate secure, memorable passwords inspired by XKCD and Password Haystacks" arch="noarch" url="https://www.bartbusschots.ie/s/publications/software/xkpasswd/" license="BSD-2-Clause" depends=" perl perl-clone perl-datetime perl-data-entropy perl-lwp-useragent-determined perl-math-random-secure perl-email-valid perl-mozilla-ca perl-uri perl-file-homedir perl-file-share perl-json perl-list-moreutils perl-math-round perl-readonly perl-text-unidecode perl-type-tiny " makedepends="perl-module-build" # Test fails due to https://github.com/bbusschots/hsxkpasswd/issues/42 options="!check" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/bbusschots/hsxkpasswd/archive/v$pkgver.tar.gz" build() { PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null perl ./Build.PL ./Build } check() { PERL_MM_USE_DEFAULT=1 ./Build test } package() { ./Build install --installdirs=vendor --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" b93f3e8a209152def43040d05f27ed404ff7d596f69f831d1666cbd1dcb06907558b0e9ab9b256cfa25aa528fc92e13b816a0b8d476f4334a53f69b44612708f hsxkpasswd-3.6.tar.gz "