Date: Saturday, December 3, 2022 @ 12:53:58
  Author: arojas
Revision: 1356325

upgpkg: iaito 5.7.8-1: Update to 5.7.8

Modified:
  iaito/trunk/PKGBUILD

----------+
 PKGBUILD |   38 +++++++++++++++-----------------------
 1 file changed, 15 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-03 11:53:28 UTC (rev 1356324)
+++ PKGBUILD    2022-12-03 12:53:58 UTC (rev 1356325)
@@ -3,9 +3,10 @@
 # Contributor: Aaron McDaniel (mcd1992) <'aur' at the domain 'fgthou.se'>
 
 pkgname=iaito
-_gitcommit=7e7351b673abac2ce824b2b6e8d02ad6d67eac4d
-pkgver=5.7.0
-pkgrel=2
+_gitcommit=cccaa3772a20f58f126c4c4747e9453543c6a043
+_transcommit=e66b3a962a7fc7dfd730764180011ecffbb206bf
+pkgver=5.7.8
+pkgrel=1
 pkgdesc='Qt and C++ GUI for radare2 reverse engineering framework'
 url='https://github.com/radareorg/iaito'
 arch=('x86_64')
@@ -12,11 +13,11 @@
 license=('GPL3')
 depends=('radare2' 'capstone' 'qt5-base' 'qt5-svg' 'qt5-webengine' 'icu' 
'python'
          'pyside2' 'python-shiboken2' 'graphviz' 'gcc-libs' 
'syntax-highlighting')
-makedepends=('git' 'cmake' 'ninja' 'shiboken2' 'qt5-tools')
+makedepends=('git' '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";)
+        
"git+https://github.com/radareorg/iaito-translations#commit=${_transcommit}";)
 sha512sums=('SKIP'
             'SKIP')
 b2sums=('SKIP'
@@ -28,31 +29,22 @@
 }
 
 prepare() {
-  cd iaito
-  git cherry-pick -n 1f9b0c2d69ad856499196e75906c0083e4db05de # Fix assert
-  git config 'submodule.src/translations.url' "${srcdir}/iaito-translations"
-  git submodule update --init src/translations
+  cp -r iaito-translations iaito/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
+  cd iaito
+  ./configure --prefix=/usr
+  mkdir build
+  cd build
+  qmake-qt5 ../src PREFIX=/usr
+  make
 }
 
 package() {
   cd iaito
-  DESTDIR="${pkgdir}" ninja -C src/build install
+  make -C build INSTALL_ROOT="$pkgdir" install
+  make DESTDIR="$pkgdir" PREFIX=/usr install-translations install-man
 }
 
 # vim: ts=2 sw=2 et:

Reply via email to