[arch-commits] Commit in (5 files)

Daniel Micay thestinger at archlinux.org
Mon Aug 18 22:13:53 UTC 2014


    Date: Tuesday, August 19, 2014 @ 00:13:53
  Author: thestinger
Revision: 117553

add qcachegrind

Added:
  qcachegrind/
  qcachegrind/repos/
  qcachegrind/trunk/
  qcachegrind/trunk/PKGBUILD
Modified:
  torsocks/trunk/PKGBUILD

----------------------------+
 qcachegrind/trunk/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 torsocks/trunk/PKGBUILD    |    2 +-
 2 files changed, 43 insertions(+), 1 deletion(-)

Added: qcachegrind/trunk/PKGBUILD
===================================================================
--- qcachegrind/trunk/PKGBUILD	                        (rev 0)
+++ qcachegrind/trunk/PKGBUILD	2014-08-18 22:13:53 UTC (rev 117553)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+
+pkgname=qcachegrind
+_pkgname=kcachegrind
+pkgver=0.7.4
+pkgrel=2
+pkgdesc='Visualization of Performance Profiling Data'
+arch=('i686' 'x86_64')
+url='http://kcachegrind.sourceforge.net'
+license=('GPL')
+depends=('qt5-base')
+optdepends=('graphviz: For drawing call graphs')
+provides=('kdesdk-kcachegrind')
+conflicts=('kdesdk-kcachegrind')
+source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz)
+md5sums=('a0be465c0f4acfa08bedafb3963a3193')
+
+build() {
+  cd $_pkgname-$pkgver
+  qmake-qt5
+  make
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  install -Dm755 cgview/cgview "$pkgdir/usr/bin/cgview"
+  install -Dm755 qcachegrind/qcachegrind "$pkgdir/usr/bin/qcachegrind"
+  install -Dm755 converters/{dprof,hotshot,memprof,op,pprof}2calltree \
+    "$pkgdir/usr/bin/"
+  install -Dm644 qcachegrind/qcachegrind.desktop \
+    "$pkgdir/usr/share/applications/qcachegrind.desktop"
+  install -Dm644 kcachegrind/hi32-app-kcachegrind.png \
+    "$pkgdir/usr/share/icons/hicolor/32x32/apps/kcachegrind.png"
+  install -Dm644 kcachegrind/hi48-app-kcachegrind.png \
+    "$pkgdir/usr/share/icons/hicolor/48x48/apps/kcachegrind.png"
+
+  # Fix python 2 path
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+    "${pkgdir}"/usr/bin/hotshot2calltree
+}


Property changes on: qcachegrind/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Modified: torsocks/trunk/PKGBUILD
===================================================================
--- torsocks/trunk/PKGBUILD	2014-08-18 22:11:02 UTC (rev 117552)
+++ torsocks/trunk/PKGBUILD	2014-08-18 22:13:53 UTC (rev 117553)
@@ -26,5 +26,5 @@
 package() {
   cd $pkgname
   make DESTDIR="$pkgdir/" install
-  find "$pkgdir/usr/share" -maxdepth 1 -type f -delete
+  #find "$pkgdir/usr/share" -maxdepth 1 -type f -delete
 }




More information about the arch-commits mailing list