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

Levente Polyak anthraxx at archlinux.org
Tue Jan 22 23:55:43 UTC 2019


    Date: Tuesday, January 22, 2019 @ 23:55:42
  Author: anthraxx
Revision: 427064

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: radare2-cutter/repos/community-staging-x86_64/PKGBUILD (from rev 427063, radare2-cutter/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-22 23:55:42 UTC (rev 427064)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Aaron McDaniel (mcd1992) <'aur' at the domain 'fgthou.se'>
+
+pkgname=radare2-cutter
+_gitcommit=2d2d4d3346b1d5dfc336564ac8bcc2677ce50102
+pkgver=1.7.4
+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')
+makedepends=('git' 'cmake')
+source=(${pkgname}::"git+https://github.com/radareorg/cutter#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd ${pkgname}
+  # remove 'v' prefix on tags; prefix revision with 'r'; replace all '-' with '.'
+  git describe --always --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+  mkdir -p ${pkgname}/build
+  cd ${pkgname}/build
+  qmake ../src/Cutter.pro
+  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