void-packages/srcpkgs/xkcdpass/template
2022-02-22 02:03:36 +01:00

25 lines
768 B
Bash

# Template file for 'xkcdpass'
pkgname=xkcdpass
version=1.19.3
revision=2
wrksrc="XKCD-password-generator-xkcdpass-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
checkdepends="python3-pytest"
short_desc="Generate secure multiword passwords/passphrases, inspired by XKCD"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/redacted/XKCD-password-generator"
distfiles="https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-${version}.tar.gz"
checksum=8ac1e1778c6c9bb1725816244695c79c622414f6937406be1eb10606de166340
do_check() {
pytest3
}
post_install() {
vman xkcdpass.1
vcompletion contrib/xkcdpass.bash-completion bash
vlicense LICENSE.BSD
}