vp-build/srcpkgs/xkcdpass/template

27 lines
746 B
Bash

# Template file for 'xkcdpass'
pkgname=xkcdpass
version=1.16.3
revision=1
wrksrc="XKCD-password-generator-xkcdpass-${version}"
noarch=yes
build_style=python3-module
pycompile_module="xkcdpass"
hostmakedepends="python3-setuptools"
checkdepends="python3-pytest"
depends="python3-setuptools"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Generate secure multiword passwords/passphrases, inspired by XKCD"
homepage="https://github.com/redacted/XKCD-password-generator"
license="BSD"
distfiles="https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-${version}.tar.gz"
checksum=99e62b8519f453b88f533d9cc7d0d47d8fc6e3c5bd286852e321c327d5a2c4df
do_check() {
pytest3
}
post_install() {
vman xkcdpass.1
vlicense LICENSE.BSD
}