void-packages/srcpkgs/python3-msoffcrypto-tool/template
2019-12-23 18:05:15 +01:00

28 lines
801 B
Bash

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