New package: python3-oletools-0.54.2b

This commit is contained in:
Andrew Benson 2019-06-18 11:20:18 -05:00 committed by Juan RP
parent 033a5e1b79
commit 676f0cd1d8
2 changed files with 30 additions and 0 deletions

1
srcpkgs/oletools Symbolic link
View file

@ -0,0 +1 @@
python3-oletools

View file

@ -0,0 +1,29 @@
# 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
}
}