[arch-commits] Commit in pwndbg/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Nov 10 20:12:12 UTC 2019
Date: Sunday, November 10, 2019 @ 20:12:11
Author: foutrelis
Revision: 526502
archrelease: copy trunk to community-staging-any
Added:
pwndbg/repos/community-staging-any/
pwndbg/repos/community-staging-any/PKGBUILD
(from rev 526501, pwndbg/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: pwndbg/repos/community-staging-any/PKGBUILD (from rev 526501, pwndbg/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-10 20:12:11 UTC (rev 526502)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=pwndbg
+pkgver=2019.01.25
+pkgrel=2
+pkgdesc='Makes debugging with GDB suck less'
+url='https://github.com/pwndbg/pwndbg'
+arch=('any')
+license=('MIT')
+depends=('gdb' 'python-capstone' 'python-unicorn' 'python-pycparser' 'python-psutil' 'python-ptrace'
+ 'python-pyelftools' 'python-six' 'python-future' 'python-pygments')
+optdepends=('checksec: checksec command support'
+ 'ropper: ropper command support'
+ 'ropgadget: ropgadget command support'
+ 'radare2: radare2 command support')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pwndbg/pwndbg/archive/${pkgver}.tar.gz)
+sha512sums=('8d37cde36b753425466dd29d3c43f5cb39ea8b365e734a5385d01adcca3e7b20431f53a77c48f90c4678a172fcc53fe48057314d49f0e5bb9720446a38440051')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed '/0L/d' -i ida_script.py
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python -m compileall .
+ python -O -m compileall .
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -d "${pkgdir}/usr/share/pwndbg"
+ cp -r *.py pwndbg __pycache__ "${pkgdir}/usr/share/pwndbg"
+ install -Dm 644 README.md FEATURES.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list