void-packages/srcpkgs/xkcdpass/template

27 lines
756 B
Bash

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