void-packages/srcpkgs/python3-msoffcrypto-tool/template

28 lines
798 B
Bash

# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=5.1.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3-setuptools python3-olefile python3-cryptography"
checkdepends="python3-pytest $depends"
short_desc="Python3 library for decrypting MS Office files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/nolze/msoffcrypto-tool"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=403ebc5470f88bdbd2117921b1d525e2b29611640cb461a6f10842df2802bca0
make_check=extended
post_install() {
vlicense LICENSE.txt
}
msoffcrypto-tool_package() {
short_desc="${short_desc/library/tool}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}