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

27 lines
757 B
Bash

# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=4.11.0
revision=2
wrksrc="msoffcrypto-tool-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-olefile python3-cryptography"
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=0cf8e02a60d1cebfd7702ef7d07cac442e25728f25c414b81a12ad1ac73ddbe4
post_install() {
vlicense LICENSE.txt
}
msoffcrypto-tool_package() {
short_desc="${short_desc/library/tool}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}