void-packages/srcpkgs/python3-oletools/template
2021-05-11 07:50:53 -05:00

29 lines
848 B
Bash

# Template file for 'python3-oletools'
pkgname=python3-oletools
version=0.56.2
revision=1
wrksrc="oletools-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-parsing python3-olefile python3-colorclass python3-easygui
python3-msoffcrypto-tool python3-pcodedmp"
checkdepends="$depends python3-pytest"
short_desc="Python3 library to analyze MS OLE2 and Office files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/decalage2/oletools"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=d6f1c43d00d79bc17e8d2be3eb579170acbaf0d8cbf6b4524447d96c2b8be957
post_install() {
vlicense oletools/LICENSE.txt
}
oletools_package() {
short_desc="${short_desc/library/tools}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}