blob: 146928f93ce5b55c979db165433a6cb3ecae129d (
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
|
# Maintainer: Zack Fitch <zack@internetuniverse.org>
pkgname=python-pyghidra-lite
pkgver=0.1.1
pkgrel=1
pkgdesc="Token-efficient MCP server for Ghidra-based reverse engineering"
arch=('any')
url="https://github.com/johnzfitch/pyghidra-lite"
license=('MIT')
depends=(
'python>=3.11'
'python-mcp'
'python-pyghidra'
'python-pydantic'
'python-click'
'python-jpype1'
'ghidra'
)
makedepends=(
'python-build'
'python-installer'
'python-hatchling'
)
source=("https://files.pythonhosted.org/packages/source/p/pyghidra-lite/pyghidra_lite-${pkgver}.tar.gz")
sha256sums=('7b1ed447c81b96fa7fb9286c8eb6ccff78d0de59dabb7b39d4a831fa778ea1f8')
build() {
cd "pyghidra_lite-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "pyghidra_lite-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|