void-packages/srcpkgs/python3-oletools/template
2019-07-03 00:34:16 +02:00

29 lines
851 B
Bash

# Template file for 'python3-oletools'
pkgname=python3-oletools
version=0.54.2b
revision=1
archs=noarch
wrksrc="oletools-${version}"
build_style=python3-module
pycompile_module="oletools"
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=967a88161064df1a5b1e0ff7c5092d5148555e4ae0a25c87898b078131b567da
post_install() {
vlicense oletools/LICENSE.txt
}
oletools_package() {
short_desc="${short_desc/library/tools}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}