29 lines
846 B
Bash
29 lines
846 B
Bash
# Template file for 'python3-oletools'
|
|
pkgname=python3-oletools
|
|
version=0.60
|
|
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"
|
|
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=85500022ebf58e9bd514e295270cb5ac2b061b2e59912432a3a7ceffd88db3e0
|
|
|
|
post_install() {
|
|
vlicense oletools/LICENSE.txt
|
|
}
|
|
|
|
oletools_package() {
|
|
short_desc="${short_desc/library/tools}"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|