[arch-commits] Commit in qcachegrind/trunk (PKGBUILD qcachegrind.install)

Daniel Micay thestinger at archlinux.org
Mon Aug 18 22:47:38 UTC 2014


    Date: Tuesday, August 19, 2014 @ 00:47:38
  Author: thestinger
Revision: 117568

upgpkg: qcachegrind 0.7.4-2

Added:
  qcachegrind/trunk/qcachegrind.install
Modified:
  qcachegrind/trunk/PKGBUILD

---------------------+
 PKGBUILD            |    8 +++++---
 qcachegrind.install |   12 ++++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-18 22:46:00 UTC (rev 117567)
+++ PKGBUILD	2014-08-18 22:47:38 UTC (rev 117568)
@@ -10,12 +10,14 @@
 arch=('i686' 'x86_64')
 url='http://kcachegrind.sourceforge.net'
 license=('GPL')
-depends=('qt5-base')
-optdepends=('graphviz: For drawing call graphs')
-provides=('kdesdk-kcachegrind')
+depends=('qt5-base' 'desktop-file-utils' 'hicolor-icon-theme')
+optdepends=('graphviz: For drawing call graphs'
+            'php: pprof2calltree'
+            'python2: hotshot2calltree')
 conflicts=('kdesdk-kcachegrind')
 source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz)
 md5sums=('a0be465c0f4acfa08bedafb3963a3193')
+install=$pkgname.install
 
 build() {
   cd $_pkgname-$pkgver

Added: qcachegrind.install
===================================================================
--- qcachegrind.install	                        (rev 0)
+++ qcachegrind.install	2014-08-18 22:47:38 UTC (rev 117568)
@@ -0,0 +1,12 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list