diff --git a/srcpkgs/binwalk/template b/srcpkgs/binwalk/template index d7a2fbc72f7..461ea4b547a 100644 --- a/srcpkgs/binwalk/template +++ b/srcpkgs/binwalk/template @@ -1,18 +1,27 @@ -# Template build file for 'binwalk'. +# Template file for 'binwalk' pkgname=binwalk -version=2.1.1 -revision=4 +version=2.2.0 +revision=1 archs=noarch build_style=python3-module pycompile_module="binwalk" hostmakedepends="python3" depends="python3" +checkdepends="python3-nose" short_desc="Easy tool for analyzing/reversing/extracting firmware images" maintainer="Duncaen " -homepage="http://www.binwalk.org" license="MIT" +homepage="https://github.com/ReFirmLabs/binwalk" distfiles="https://github.com/ReFirmLabs/binwalk/archive/v${version}.tar.gz" -checksum=1b70a5b03489d29f60fef18008a2164974234874faab48a4f47ec53d461d284a +checksum=f5495f0e4c5575023d593f7c087c367675df6aeb7f4d9a2966e49763924daa27 + +post_extract() { + vsed -i -e 's;/etc/bash_completion.d/%s;%s.bash;' setup.py +} + +do_check() { + PYTHONPATH="${wrksrc}/src" python3 setup.py test +} post_install() { vlicense LICENSE