blob: d0eace45c543ff1f9b342a4e26740776b415904d (
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
|
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>
pkgname=python-objection
pkgver=1.8.2
pkgrel=1
pkgdesc="runtime mobile exploration"
arch=('any')
url=https://github.com/sensepost/objection
license=('GPLv3')
depends=(python python-flask python-click python-frida python-frida-tools python-tabulate python-prompt_toolkit python-delegator nodejs)
makedepends=('python-setuptools')
source=(https://github.com/sensepost/objection/archive/${pkgver}.tar.gz)
sha256sums=('e32e97e98401bb4708918f752d40009ee2de80444e5ec9297d099e853375dcf1')
prepare() {
cd "$srcdir/objection-$pkgver/"
#versioneer install
}
build() {
cd "$srcdir/objection-$pkgver/"
python setup.py build
cd agent
npm install
}
package() {
cd "$srcdir/objection-$pkgver/"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
cd "${pkgdir}"
find . -name tests | xargs rm -rf
cp "${srcdir}/objection-${pkgver}/objection/agent.js" "$(find . -name objection -type d)/."
}
# vim:ts=2:sw=2:et:
|