[arch-commits] Commit in kdesdk-kcachegrind (trunk trunk trunk/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Aug 21 05:19:34 UTC 2016


    Date: Sunday, August 21, 2016 @ 05:19:33
  Author: felixonmars
Revision: 274465

upgpkg: kdesdk-kcachegrind 16.08.0-1

Upstream release

Added:
  kdesdk-kcachegrind/trunk/
  kdesdk-kcachegrind/trunk/PKGBUILD
Deleted:
  kdesdk-kcachegrind/trunk/

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

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2016-08-21 05:19:33 UTC (rev 274465)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-kcachegrind
+pkgver=16.08.0
+pkgrel=1
+pkgdesc='Visualization of Performance Profiling Data'
+url='http://kde.org/applications/development/kcachegrind/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+optdepends=('php: PHP support')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcachegrind-${pkgver}.tar.xz")
+sha1sums=('7e7bd6f84faaa3f42bdbd33381229c34fffc3bbc')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kcachegrind-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR=$pkgdir install
+
+  # Fix python 2 path
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+    "${pkgdir}"/usr/bin/hotshot2calltree
+}


Property changes on: kdesdk-kcachegrind/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list