[arch-commits] Commit in radare2-cutter/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Mar 20 16:20:46 UTC 2020
Date: Friday, March 20, 2020 @ 16:20:45
Author: anthraxx
Revision: 601922
archrelease: copy trunk to community-x86_64
Added:
radare2-cutter/repos/community-x86_64/PKGBUILD
(from rev 601921, radare2-cutter/trunk/PKGBUILD)
Deleted:
radare2-cutter/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-20 16:20:39 UTC (rev 601921)
+++ PKGBUILD 2020-03-20 16:20:45 UTC (rev 601922)
@@ -1,51 +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=1
-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')
-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 601921, radare2-cutter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-20 16:20:45 UTC (rev 601922)
@@ -0,0 +1,52 @@
+# 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:
More information about the arch-commits
mailing list