From 676f0cd1d856c31a13eaa638f7b0fd1b36641dc8 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Tue, 18 Jun 2019 11:20:18 -0500 Subject: [PATCH] New package: python3-oletools-0.54.2b --- srcpkgs/oletools | 1 + srcpkgs/python3-oletools/template | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 120000 srcpkgs/oletools create mode 100644 srcpkgs/python3-oletools/template diff --git a/srcpkgs/oletools b/srcpkgs/oletools new file mode 120000 index 00000000000..9de9eb786e5 --- /dev/null +++ b/srcpkgs/oletools @@ -0,0 +1 @@ +python3-oletools \ No newline at end of file diff --git a/srcpkgs/python3-oletools/template b/srcpkgs/python3-oletools/template new file mode 100644 index 00000000000..af9a91ff273 --- /dev/null +++ b/srcpkgs/python3-oletools/template @@ -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 " +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 + } +}