blob: a07cf43a4d2c5b2f2d3504136790195024b3484e (
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
|
# Maintainer: jacopotediosi <jacopotediosi at gmail dot com>
_pkgname=frida
pkgname=python-$_pkgname-bin
pkgver=16.7.3
pkgrel=1
pkgdesc='Inject JavaScript to explore native apps on Windows, Mac, Linux, iOS and Android. Python 3 binary version from PyPi'
arch=('i686' 'x86_64' 'armv7l' 'aarch64')
url='https://www.frida.re'
license=('custom:wxWindows Library License, Version 3.1')
depends=('python' 'nodejs' 'npm')
makedepends=(python-build python-installer python-wheel python-setuptools)
optdepends=('python-typing_extensions: for Python <3.8'
'rustup: for injecting Rust code into targets')
provides=("python-frida=$pkgver")
conflicts=('python-frida' 'python2-frida')
# Hashes updated by updpkgsums
sha256sums=('5ea1544b51a28bc823b03159190d4108f9fb4f4ef912389f5137c6d295e175b2')
sha256sums_i686=('9a2748a116cb0dcf3f7cfaccb0b2f68dab60c47c4b265af77e8750f14a0969c0')
sha256sums_x86_64=('eee00ae13342a7f6a5adbb2273404f6cf9ac3d0cf1ee0501ebca31ff4fdf2577')
sha256sums_armv7l=('68dade3e374bedf04558c7e539d51701fbfc797862deaf189ccdc59a8bc92438')
sha256sums_aarch64=('8608b1df718589a60122ecbed86b38055705b232396981c3dfa2bba571e621ba')
# Built distributions taken from https://pypi.org/project/frida/#files
_py=cp37
_abi=abi3
source=("https://raw.githubusercontent.com/frida/frida/refs/heads/main/COPYING")
source_i686=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/$_pkgname/${_pkgname//-/_}-$pkgver-$_py-$_abi-manylinux_2_5_i686.whl")
source_x86_64=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/$_pkgname/${_pkgname//-/_}-$pkgver-$_py-$_abi-manylinux_2_5_x86_64.whl")
source_armv7l=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/$_pkgname/${_pkgname//-/_}-$pkgver-$_py-$_abi-manylinux_2_17_armv7l.whl")
source_aarch64=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/$_pkgname/${_pkgname//-/_}-$pkgver-$_py-$_abi-manylinux_2_17_aarch64.whl")
package() {
cd "$srcdir"
python -m installer --destdir="$pkgdir" "$srcdir"/*.whl
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m 644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/"
}
|