[arch-commits] Commit in radare2-cutter/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Wed May 16 00:07:16 UTC 2018
Date: Wednesday, May 16, 2018 @ 00:07:12
Author: anthraxx
Revision: 322540
archrelease: copy trunk to community-x86_64
Added:
radare2-cutter/repos/community-x86_64/
radare2-cutter/repos/community-x86_64/PKGBUILD
(from rev 322539, radare2-cutter/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: radare2-cutter/repos/community-x86_64/PKGBUILD (from rev 322539, radare2-cutter/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-05-16 00:07:12 UTC (rev 322540)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Aaron McDaniel (mcd1992) <'aur' at the domain 'fgthou.se'>
+
+pkgname=radare2-cutter
+_gitcommit=a815f8f18285b41d2901a376485fc3a40ceae61f
+pkgver=1.4
+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')
+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'
+}
+
+prepare() {
+ cd ${pkgname}
+ install -d build
+}
+
+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/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