summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0755f27c744ade01b9db9b378a616de9f9bcf52d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Christian Rebischke <echo Q2hyaXMuUmViaXNjaGtlQGdtYWlsLmNvbQo= | base64 -d>

pkgname=peda-git
pkgver=45.d0bd978
pkgrel=2
pkgdesc="PEDA - Python Exploit Development Assistance for GDB"
arch=('any')
url="https://github.com/longld/peda"
license=('Creative Commons')
depends=( 'gdb' 'python2')
makedepends=('git')
source=('git+http://github.com/longld/peda')
md5sums=('SKIP')
install="peda.install"

pkgver() {
  cd peda
  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


package() {
  install -D -m755 "${srcdir}/peda/peda.py" \
    "${pkgdir}/usr/share/peda/peda.py"
  install -D -m644 "${srcdir}/peda/LICENSE" \
    "${pkgdir}/usr/share/peda/LICENSE"
  install -D -m644 "${srcdir}/peda/README" \
    "${pkgdir}/usr/share/peda/README"
  install -D -m755 "${srcdir}/peda/lib/config.py" \
    "${pkgdir}/usr/share/peda/lib/config.py"
  install -D -m755 "${srcdir}/peda/lib/nasm.py" \
    "${pkgdir}/usr/share/peda/lib/nasm.py"
  install -D -m755 "${srcdir}/peda/lib/shellcode.py" \
    "${pkgdir}/usr/share/peda/lib/shellcode.py"
  install -D -m755 "${srcdir}/peda/lib/skeleton.py" \
    "${pkgdir}/usr/share/peda/lib/skeleton.py"
  install -D -m755 "${srcdir}/peda/lib/utils.py" \
    "${pkgdir}/usr/share/peda/lib/utils.py"


  
  
}


# vim:set ts=2 sts=2 sw=2 et