[arch-commits] Commit in radare2-cutter/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Apr 4 21:41:50 UTC 2020


    Date: Saturday, April 4, 2020 @ 21:41:50
  Author: anthraxx
Revision: 611743

archrelease: copy trunk to community-x86_64

Added:
  radare2-cutter/repos/community-x86_64/PKGBUILD
    (from rev 611742, radare2-cutter/trunk/PKGBUILD)
Deleted:
  radare2-cutter/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 54 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-04 21:41:46 UTC (rev 611742)
+++ PKGBUILD	2020-04-04 21:41:50 UTC (rev 611743)
@@ -1,52 +0,0 @@
-# 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=radare2-cutter
-_gitcommit=b78df947d0a000ff38c38673fe84bae4c47a77e1
-pkgver=1.10.2
-epoch=1
-pkgrel=2
-pkgdesc='Qt and C++ GUI for radare2 reverse engineering framework'
-url='https://github.com/radareorg/cutter'
-arch=('x86_64')
-license=('GPL3')
-depends=('radare2' 'capstone' 'qt5-base' 'qt5-svg' 'qt5-webengine' 'icu' 'python' 'jupyter'
-         'pyside2' 'python-shiboken2')
-makedepends=('git' 'cmake' 'shiboken2')
-optdepends=('r2ghidra-dec: ghidra decompiler plugin')
-source=(${pkgname}::"git+https://github.com/radareorg/cutter#commit=${_gitcommit}")
-sha512sums=('SKIP')
-
-pkgver() {
-  cd ${pkgname}
-  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-prepare() {
-  sed -e 's|PKGCONFIG += python3|PKGCONFIG += python3-embed|' -i $pkgname/src/Cutter.pro # Fix linking to python 3.8
-}
-
-build() {
-  mkdir -p ${pkgname}/build
-  cd ${pkgname}/build
-  export CFLAGS+=" ${CPPFLAGS}"
-  export CXXFLAGS+=" ${CPPFLAGS}"
-  qmake ../src/Cutter.pro \
-    CUTTER_ENABLE_PYTHON=true \
-    CUTTER_ENABLE_PYTHON_BINDINGS=true \
-    CUTTER_USE_BUNDLED_RADARE2=false
-  make bindings_target
-  make
-}
-
-package() {
-  cd ${pkgname}
-  install -Dm 755 build/Cutter -t "${pkgdir}/usr/bin"
-  install -Dm 644 src/org.radare.Cutter.desktop -t "${pkgdir}/usr/share/applications"
-  install -Dm 644 src/img/cutter.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:

Copied: radare2-cutter/repos/community-x86_64/PKGBUILD (from rev 611742, radare2-cutter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-04 21:41:50 UTC (rev 611743)
@@ -0,0 +1,54 @@
+# 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=radare2-cutter
+_gitcommit=b78df947d0a000ff38c38673fe84bae4c47a77e1
+pkgver=1.10.2
+epoch=1
+pkgrel=3
+pkgdesc='Qt and C++ GUI for radare2 reverse engineering framework'
+url='https://github.com/radareorg/cutter'
+arch=('x86_64')
+license=('GPL3')
+depends=('radare2' 'capstone' 'qt5-base' 'qt5-svg' 'qt5-webengine' 'icu' 'python' 'jupyter'
+         'pyside2' 'python-shiboken2')
+makedepends=('git' 'cmake' 'shiboken2')
+optdepends=('r2ghidra-dec: ghidra decompiler plugin')
+source=(${pkgname}::"git+https://github.com/radareorg/cutter#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd ${pkgname}
+  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  sed -e 's|PKGCONFIG += python3|PKGCONFIG += python3-embed|' -i $pkgname/src/Cutter.pro # Fix linking to python 3.8
+}
+
+build() {
+  mkdir -p ${pkgname}/build
+  cd ${pkgname}/build
+  export CFLAGS+=" ${CPPFLAGS}"
+  export CXXFLAGS+=" ${CPPFLAGS}"
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCUTTER_ENABLE_PYTHON=true \
+    -DCUTTER_ENABLE_PYTHON_BINDINGS=true \
+    -DCUTTER_USE_BUNDLED_RADARE2=false \
+    ../src
+  make VERBOSE=1
+}
+
+package() {
+  cd ${pkgname}
+  install -Dm 755 build/Cutter -t "${pkgdir}/usr/bin"
+  install -Dm 644 src/org.radare.Cutter.desktop -t "${pkgdir}/usr/share/applications"
+  install -Dm 644 src/img/cutter.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