void-packages/srcpkgs/python3-msoffcrypto-tool/template
2020-05-24 21:08:54 -05:00

28 lines
770 B
Bash

# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=4.10.2
revision=2
archs=noarch
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=00f296576c1611f8de1c6683ccd9be9bfdfa53331378be3f23f522284e7d9574
post_install() {
vlicense LICENSE.txt
}
msoffcrypto-tool_package() {
short_desc="${short_desc/library/tool}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}