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

Levente Polyak anthraxx at archlinux.org
Mon May 13 20:30:30 UTC 2019


    Date: Monday, May 13, 2019 @ 20:30:29
  Author: anthraxx
Revision: 467171

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-13 20:30:23 UTC (rev 467170)
+++ PKGBUILD	2019-05-13 20:30:29 UTC (rev 467171)
@@ -1,36 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Aaron McDaniel (mcd1992) <'aur' at the domain 'fgthou.se'>
-
-pkgname=radare2-cutter
-pkgver=1.8.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')
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('SKIP')
-
-build() {
-  mkdir -p cutter-$pkgver/build
-  cd cutter-$pkgver/build
-
-  qmake ../src/Cutter.pro
-
-  make
-}
-
-package() {
-  cd cutter-$pkgver
-
-  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 467170, radare2-cutter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-13 20:30:29 UTC (rev 467171)
@@ -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=800594551b8f0bb9104f2b6e83de6ece5fa62913
+pkgver=1.8.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')
+makedepends=('git' 'cmake')
+source=(${pkgname}::"git+https://github.com/radareorg/cutter#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd ${pkgname}
+  git tag -d deploy-test-pancake>/dev/null 2>&1||true
+  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