diff --git a/srcpkgs/python3-pwntools/template b/srcpkgs/python3-pwntools/template new file mode 100644 index 0000000000..3e7c5b9bbd --- /dev/null +++ b/srcpkgs/python3-pwntools/template @@ -0,0 +1,25 @@ +# Template file for 'python3-pwntools' +pkgname=python3-pwntools +version=4.3.1 +revision=1 +wrksrc="pwntools-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="capstone-python3 python3 python3-Mako python3-Pygments + python3-dateutil python3-intervaltree python3-packaging python3-paramiko + python3-psutil python3-pyelftools python3-pyserial python3-pysocks + python3-requests python3-ropgadget python3-sortedcontainers" +make_install_args="--only-use-pwn-command" +short_desc="CTF framework and exploit development library" +maintainer="Leah Neukirchen " +license="MIT, BSD-2-Clause" +homepage="https://github.com/Gallopsled/pwntools" +distfiles="${PYPI_SITE}/p/pwntools/pwntools-${version}.tar.gz" +checksum=c46188e713c47617b2dbf3e32d1867f948d35d82fddf9a9d2294a33f47484a8a + +post_install() { + rm -f ${DESTDIR}/usr/lib/python*/site-packages/*.md + rm -f ${DESTDIR}/usr/lib/python*/site-packages/*.txt + vlicense LICENSE-pwntools.txt LICENSE +}