void-packages/srcpkgs/xkcdpass/template

26 lines
756 B
Bash

# Template file for 'xkcdpass'
pkgname=xkcdpass
version=1.17.0
revision=1
noarch=yes
wrksrc="XKCD-password-generator-xkcdpass-${version}"
build_style=python3-module
pycompile_module="xkcdpass"
hostmakedepends="python3-setuptools"
checkdepends="python3-pytest"
depends="python3-setuptools"
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=7dcfb2b38f95f173754ecc5ecd5dde08516d4c72be4e2ccdfe5f6685fb7c3c43
do_check() {
pytest3
}
post_install() {
vman xkcdpass.1
vlicense LICENSE.BSD
}