ayaports/testing/hsxkpasswd/APKBUILD

45 lines
1.1 KiB
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=hsxkpasswd
pkgver=3.6
pkgrel=0
pkgdesc="Generate secure, memorable passwords inspired by XKCD and Password Haystacks"
#arch="noarch"
# needs updating with new depends
url="https://www.bartbusschots.ie/s/publications/software/xkpasswd/"
license="BSD-2-Clause"
depends="
perl
perl-clone
perl-datetime
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"
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
"