[arch-commits] Commit in r2cutter/repos (2 files)

Levente Polyak anthraxx at archlinux.org
Sun Mar 28 16:07:45 UTC 2021


    Date: Sunday, March 28, 2021 @ 16:07:44
  Author: anthraxx
Revision: 906984

archrelease: copy trunk to community-staging-x86_64

Added:
  r2cutter/repos/community-staging-x86_64/
  r2cutter/repos/community-staging-x86_64/PKGBUILD
    (from rev 906983, r2cutter/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: r2cutter/repos/community-staging-x86_64/PKGBUILD (from rev 906983, r2cutter/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-03-28 16:07:44 UTC (rev 906984)
@@ -0,0 +1,51 @@
+# 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=r2cutter
+_gitcommit=86ee0a9caedc9d515d62738d4b33aaa9e346ac2f
+pkgver=1.12.0
+epoch=1
+pkgrel=2
+pkgdesc='Qt and C++ GUI for radare2 reverse engineering framework'
+url='https://github.com/radareorg/r2cutter'
+arch=('x86_64')
+license=('GPL3')
+depends=('radare2' 'capstone' 'qt5-base' 'qt5-svg' 'qt5-webengine' 'icu' 'python' 'jupyter'
+         'pyside2' 'python-shiboken2' 'graphviz' 'gcc-libs')
+makedepends=('git' 'cmake' 'shiboken2' 'qt5-tools')
+optdepends=('r2ghidra: ghidra decompiler plugin')
+replaces=('radare2-cutter')
+source=("git+https://github.com/radareorg/r2cutter#commit=${_gitcommit}")
+sha512sums=('SKIP')
+b2sums=('SKIP')
+
+#pkgver() {
+#  cd r2cutter
+#  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+#}
+
+build() {
+  cd r2cutter/src
+  cmake -B build \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCUTTER_ENABLE_PYTHON=ON \
+    -DCUTTER_ENABLE_PYTHON_BINDINGS=ON \
+    -DCUTTER_USE_BUNDLED_RADARE2=OFF \
+    -DCUTTER_USE_ADDITIONAL_RADARE2_PATHS=OFF \
+    -DCUTTER_ENABLE_CRASH_REPORTS=OFF \
+    -DCUTTER_ENABLE_GRAPHVIZ=ON
+  make -C build VERBOSE=1
+}
+
+package() {
+  cd r2cutter
+  install -Dm 755 src/build/r2cutter -t "${pkgdir}/usr/bin"
+  install -Dm 644 src/org.radare.r2cutter.desktop -t "${pkgdir}/usr/share/applications"
+  install -Dm 644 src/img/r2cutter.svg -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
+  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