33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Maintainer: kriskras99 <admin at kriskras99 dot nl>
|
|
# Contributor: Ali Molaei <ali dot molaei at protonmail dot com>
|
|
# Contributor: algebro <algebro at tuta dot io>
|
|
|
|
_pkgname=frida-tools
|
|
pkgname=python-$_pkgname
|
|
pkgver=12.3.0
|
|
pkgrel=3
|
|
pkgdesc="CLI tools for Frida. Python 3 version from PyPi."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.frida.re"
|
|
license=('wxWindows Library License, Version 3.1')
|
|
depends=('python' 'python-pygments>=2.15.1' 'python-colorama>=0.4.6' 'python-frida>=16.1.4' 'python-prompt_toolkit>=3.0.38')
|
|
# Sourced from https://pypi.org/project/frida-tools/#files
|
|
source=("https://files.pythonhosted.org/packages/source/f/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
|
|
"COPYING")
|
|
sha256sums=('8edc67d1ae3792ff5b2dc63508cde4d247f92b7d0d7bf153d74a21a6d58dc045'
|
|
'5ea1544b51a28bc823b03159190d4108f9fb4f4ef912389f5137c6d295e175b2')
|
|
conflicts=("python2-${_pkgname}")
|
|
|
|
build() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
python setup.py install --root=$pkgdir --optimize=1 --skip-build
|
|
cd "$srcdir"
|
|
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
|
install -m 644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/"
|
|
}
|