blob: ef2f8dcd8b5611027358630f0e07159e25f9613f (
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.7.5
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=('f3caee908f98e3ed2fe5c4e1555c2a85e371aadde8d273b033f5bcbd52617419')
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:
|