void-packages/srcpkgs/peframe/template
2018-06-30 18:33:16 +02:00

25 lines
726 B
Bash

# Template file for 'peframe'
pkgname=peframe
version=5.0.1
revision=2
noarch=yes
_gitver=b8f46740d6870c4e3d60a1f157773af9221c2f67
wrksrc="${pkgname}-${_gitver}"
build_style=python2-module
pycompile_module="peframe"
hostmakedepends="python-setuptools"
depends="python-setuptools python-simplejson"
short_desc="Perform static analysis on Portable Executables"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/guelfoweb/peframe"
distfiles="https://github.com/guelfoweb/peframe/archive/${_gitver}.tar.gz"
checksum=74cfdc51e999a4b86102dd383e7bf5e170da70f796a7cedb341e5c81774c7891
pre_configure() {
sed -n '5,24p' peframe/peframe.py > LICENSE
}
post_install() {
vlicense LICENSE
}