summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90e82e945f7d6df69c41aea404111f22ec1ec5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jakob Tsar-Fox <jakob@memeware.net>
pkgname=pince-git
pkgver=0.1.0
pkgrel=1
pkgdesc="A Linux reverse engineering tool inspired by Cheat Engine."
arch=('any')
url="https://github.com/korcankaraokcu/PINCE"
license=('GPL3')
depends=('python' 'python-pexpect' 'python-psutil' 'gdb')
makedepends=()
source=("$pkgname::git+https://github.com/korcankaraokcu/PINCE.git")
md5sums=('SKIP')

package() {
    cd "$srcdir/$pkgname"
    sed "s/\.\/gdb_pince\/gdb-7\.11\.1\/bin\/gdb/\/usr\/bin\/gdb/g" libPINCE/type_defs.py > libPINCE/type_defs.py.new
    mv libPINCE/type_defs.py.new libPINCE/type_defs.py
    install -d $pkgdir/usr/bin
    install -d $pkgdir/usr/share/PINCE
    install PINCE.py $pkgdir/usr/share/PINCE
    cp -r GUI libPINCE media pince-non-stop-files $pkgdir/usr/share/PINCE
    ln -s $pkgdir/usr/share/PINCE/PINCE.py $pkgdir/usr/bin/pince
}