void-packages/srcpkgs/python3-oletools/template

28 lines
807 B
Bash

# Template file for 'python3-oletools'
pkgname=python3-oletools
version=0.56
revision=2
wrksrc="oletools-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-parsing python3-olefile python3-colorclass python3-easygui
python3-msoffcrypto-tool python3-pcodedmp"
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=9d76d449f1edb1d74996ebf8b117371b5cdde436cfa595b3ff3989ec8d026106
post_install() {
vlicense oletools/LICENSE.txt
}
oletools_package() {
short_desc="${short_desc/library/tools}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}