blob: a000511e6074272d217ce8d205e17b34eca5639c (
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
47
48
|
# Maintainer: Radon Rosborough <radon@radian.codes>
pkgname=objection
pkgver=1.12.4
pkgrel=2
pkgdesc='Runtime mobile exploration toolkit powered by Frida'
arch=('any')
url="https://github.com/sensepost/$pkgname"
license=('GPLv3')
depends=(
'python>=3.10'
'python-click>=8.2.0'
'python-delegator>=0.1.1'
'python-flask>=3.0.0'
'python-frida>=16.0.0'
'python-frida-tools>=10.0.0'
'litecli>=1.3.0'
'python-packaging>=23.0'
'python-prompt_toolkit>=3.0.30'
'python-prompt_toolkit<4.0.0'
'python-pygments>=2.0.0'
'python-requests>=2.32.0'
'python-semver>=2'
'python-setuptools>=70.0.0'
'python-tabulate>=0.9.0'
)
makedepends=(python-build python-installer uv npm)
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('e7d15766351fffc9162566db499508a997e6aae2acdd7ad1bb96601c6eb99068')
# No check() because upstream tests do not pass
# https://github.com/sensepost/objection/issues/780
build() {
cd $pkgname-$pkgver
(
cd agent
npm ci
)
python -m build --wheel --no-isolation
}
package() {
cd $pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|