[arch-commits] Commit in pwndbg/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:33:09 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:33:08
  Author: foutrelis
Revision: 752648

archrelease: copy trunk to community-staging-any

Added:
  pwndbg/repos/community-staging-any/
  pwndbg/repos/community-staging-any/PKGBUILD
    (from rev 752645, pwndbg/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: pwndbg/repos/community-staging-any/PKGBUILD (from rev 752645, pwndbg/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:33:08 UTC (rev 752648)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=pwndbg
+pkgver=2020.07.23
+pkgrel=2
+pkgdesc='Makes debugging with GDB suck less'
+url='https://github.com/pwndbg/pwndbg'
+arch=('any')
+license=('MIT')
+depends=('gdb' 'python' '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=(https://github.com/pwndbg/pwndbg/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a523b058f81758faca4cbb16e9f78452c1edf5d9d67a6911c550f117c31c9656794a54fe01e31a73e2f1c4b67f547580a104bc62048e20db6b48798b2d51290a')
+b2sums=('15fa32353ae0668fed6a22ea66229eecfd76d59267cb20c4bd1a6d133a074ddf04c61bb1df15df6baf4494cd66565f44c0124ac75c528b1475dd2b4510bf3248')
+
+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