2024-10-16 11:41:13 +00:00
|
|
|
# Maintainer: nezu@nezu.cc
|
2024-08-10 18:53:19 +00:00
|
|
|
pkgname=ida-pro-patched
|
|
|
|
_pkgname=ida-pro
|
2024-10-16 11:41:13 +00:00
|
|
|
pkgver=9.0.240925
|
2024-11-08 20:43:30 +00:00
|
|
|
pkgrel=3
|
2024-08-10 18:53:19 +00:00
|
|
|
pkgdesc="IDA - The Interactive Disassembler (Patched)"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://hex-rays.com/ida-pro/"
|
|
|
|
license=('custom')
|
|
|
|
makedepends=('fakechroot')
|
|
|
|
depends=('python>=3' 'python<4')
|
|
|
|
options=('!strip')
|
|
|
|
_name="$_pkgname-$pkgver"
|
2024-10-16 11:41:13 +00:00
|
|
|
_release_url="https://vaclive.party/software/$_pkgname/releases/download/$pkgver"
|
2024-08-10 18:53:19 +00:00
|
|
|
source=(
|
2024-10-16 11:41:13 +00:00
|
|
|
"$_name.run::$_release_url/ida-pro_90_x64linux.run"
|
|
|
|
"$_name.run.sig::$_release_url/ida-pro_90_x64linux.run.sig"
|
|
|
|
"patch.py::$_release_url/keygen2.py"
|
|
|
|
"patch.py.sig::$_release_url/keygen2.py.sig"
|
2024-08-10 18:53:19 +00:00
|
|
|
"$_pkgname.desktop"
|
|
|
|
)
|
2024-10-16 11:41:13 +00:00
|
|
|
sha256sums=('159cf8983a0e7b199d6efab5af42eca31a288e7ef2ec44eba6336de4acb8107a'
|
|
|
|
'SKIP'
|
|
|
|
'da41a74453b5e4b6816c5ed1ad66c8c7a19684c48d23e083bda9d5149966616e'
|
|
|
|
'SKIP'
|
2024-11-08 20:43:30 +00:00
|
|
|
'445e0498d24676cc81c1f9b81a30241eabd480852561f398e520e6e23d4b97bd')
|
2024-10-16 11:41:13 +00:00
|
|
|
validpgpkeys=('09BE40243217978201A0440E101BA3F4C612AA41') # nezu <nezu@nezu.cc>
|
2024-08-10 18:53:19 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p "$_name/tmp"
|
|
|
|
cp "$srcdir/$_name.run" "$_name"
|
|
|
|
chmod +x "$_name/$_name.run"
|
|
|
|
fakechroot chroot "$srcdir/$_name" "/$_name.run" --mode unattended --unattendedmodeui none --prefix /opt/$_name
|
|
|
|
cd "$_name/opt/$_name"
|
|
|
|
python3 "$srcdir/patch.py"
|
2024-10-16 11:41:13 +00:00
|
|
|
mv -v libida32.so.patched libida32.so
|
2024-08-10 18:53:19 +00:00
|
|
|
mv -v libida.so.patched libida.so
|
|
|
|
rm uninstall* Uninstall*
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -dm755 "$pkgdir/opt/$_pkgname"
|
|
|
|
cp --preserve=mode,timestamps -r "$srcdir/$_name/opt/$_name/"* "$pkgdir/opt/$_pkgname"
|
|
|
|
|
|
|
|
install -dm755 "$pkgdir/usr/bin"
|
2024-10-16 11:49:37 +00:00
|
|
|
ln -s "/opt/$_pkgname/ida" "$pkgdir/usr/bin/ida"
|
2024-08-10 18:53:19 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir/$_name/opt/$_name/appico.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png"
|
|
|
|
install -Dm644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
|
|
|
|
}
|