[arch-commits] Commit in iaito/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Sat Jun 12 00:51:38 UTC 2021
Date: Saturday, June 12, 2021 @ 00:51:38
Author: anthraxx
Revision: 963033
archrelease: copy trunk to community-staging-x86_64
Added:
iaito/repos/community-staging-x86_64/
iaito/repos/community-staging-x86_64/PKGBUILD
(from rev 963032, iaito/trunk/PKGBUILD)
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
Copied: iaito/repos/community-staging-x86_64/PKGBUILD (from rev 963032, iaito/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-06-12 00:51:38 UTC (rev 963033)
@@ -0,0 +1,59 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Santiago Torres-Arias <santiago[at]archlinux[dot]org>
+# Contributor: Aaron McDaniel (mcd1992) <'aur' at the domain 'fgthou.se'>
+
+pkgname=iaito
+_gitcommit=4a8ee1df1a1beb09e1304065b5d7f53d54977581
+pkgver=5.2.2
+pkgrel=2
+pkgdesc='Qt and C++ GUI for radare2 reverse engineering framework'
+url='https://github.com/radareorg/iaito'
+arch=('x86_64')
+license=('GPL3')
+depends=('radare2' 'capstone' 'qt5-base' 'qt5-svg' 'qt5-webengine' 'icu' 'python' 'jupyter'
+ 'pyside2' 'python-shiboken2' 'graphviz' 'gcc-libs' 'syntax-highlighting')
+makedepends=('git' 'cmake' 'ninja' 'shiboken2' 'qt5-tools')
+optdepends=('r2ghidra: ghidra decompiler plugin')
+replaces=('r2cutter')
+source=("git+https://github.com/radareorg/iaito#commit=${_gitcommit}"
+ "git+https://github.com/radareorg/iaito-translations")
+sha512sums=('SKIP'
+ 'SKIP')
+b2sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd iaito
+ git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd iaito
+ git config 'submodule.src/translations.url' "${srcdir}/iaito-translations"
+ git submodule update --init src/translations
+}
+
+build() {
+ cd iaito/src
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DIAITO_ENABLE_PYTHON=ON \
+ -DIAITO_ENABLE_PYTHON_BINDINGS=ON \
+ -DIAITO_USE_BUNDLED_RADARE2=OFF \
+ -DIAITO_USE_ADDITIONAL_RADARE2_PATHS=OFF \
+ -DIAITO_ENABLE_CRASH_REPORTS=OFF \
+ -DIAITO_ENABLE_GRAPHVIZ=ON \
+ -Wno-dev \
+ -G Ninja
+ ninja -C build
+}
+
+package() {
+ cd iaito
+ DESTDIR="${pkgdir}" ninja -C src/build install
+ install -d "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -a docs/* "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list