[arch-commits] Commit in kdesdk-kcachegrind/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 10 19:42:03 UTC 2015
Date: Friday, April 10, 2015 @ 21:42:03
Author: arojas
Revision: 236213
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdesdk-kcachegrind/repos/staging-i686/
kdesdk-kcachegrind/repos/staging-i686/PKGBUILD
(from rev 236212, kdesdk-kcachegrind/trunk/PKGBUILD)
kdesdk-kcachegrind/repos/staging-i686/kdesdk-kcachegrind.install
(from rev 236212, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
kdesdk-kcachegrind/repos/staging-x86_64/
kdesdk-kcachegrind/repos/staging-x86_64/PKGBUILD
(from rev 236212, kdesdk-kcachegrind/trunk/PKGBUILD)
kdesdk-kcachegrind/repos/staging-x86_64/kdesdk-kcachegrind.install
(from rev 236212, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
-------------------------------------------+
staging-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++
staging-i686/kdesdk-kcachegrind.install | 12 ++++++++
staging-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++
staging-x86_64/kdesdk-kcachegrind.install | 12 ++++++++
4 files changed, 104 insertions(+)
Copied: kdesdk-kcachegrind/repos/staging-i686/PKGBUILD (from rev 236212, kdesdk-kcachegrind/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-10 19:42:03 UTC (rev 236213)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-kcachegrind
+pkgver=15.04.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' 'python2')
+makedepends=('cmake' 'automoc4')
+optdepends=('php: PHP support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcachegrind-${pkgver}.tar.xz")
+sha1sums=('33c977c38f045e5e7f7a62ae03f7aa48bbb46df5')
+
+prepare() {
+ mkdir 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
+}
Copied: kdesdk-kcachegrind/repos/staging-i686/kdesdk-kcachegrind.install (from rev 236212, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
===================================================================
--- staging-i686/kdesdk-kcachegrind.install (rev 0)
+++ staging-i686/kdesdk-kcachegrind.install 2015-04-10 19:42:03 UTC (rev 236213)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdesdk-kcachegrind/repos/staging-x86_64/PKGBUILD (from rev 236212, kdesdk-kcachegrind/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-10 19:42:03 UTC (rev 236213)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-kcachegrind
+pkgver=15.04.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' 'python2')
+makedepends=('cmake' 'automoc4')
+optdepends=('php: PHP support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcachegrind-${pkgver}.tar.xz")
+sha1sums=('33c977c38f045e5e7f7a62ae03f7aa48bbb46df5')
+
+prepare() {
+ mkdir 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
+}
Copied: kdesdk-kcachegrind/repos/staging-x86_64/kdesdk-kcachegrind.install (from rev 236212, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
===================================================================
--- staging-x86_64/kdesdk-kcachegrind.install (rev 0)
+++ staging-x86_64/kdesdk-kcachegrind.install 2015-04-10 19:42:03 UTC (rev 236213)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list