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

28 lines
798 B
Bash

# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=5.4.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=9e736c3de511f7bc47272b0e8cc29186ec1554a51768b8d4841b321575d8289f
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
}
}