vp-build/srcpkgs/xkcdpass/template

27 lines
755 B
Bash

# Template file for 'xkcdpass'
pkgname=xkcdpass
version=1.16.5
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"
short_desc="Generate secure multiword passwords/passphrases, inspired by XKCD"
maintainer="cr6git <quark6@protonmail.com>"
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=7778cc8924273a3f8313888817dc37dc845a838b5f42f0c5ab0267b2adddebff
do_check() {
pytest3
}
post_install() {
vman xkcdpass.1
vlicense LICENSE.BSD
}