28 lines
798 B
Bash
28 lines
798 B
Bash
# Template file for 'python3-msoffcrypto-tool'
|
|
pkgname=python3-msoffcrypto-tool
|
|
version=5.4.2
|
|
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=427bbf5d9e491c51fcf15fa462abaa7abf3827250f956533e7f69997ef186858
|
|
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
|
|
}
|
|
}
|