[arch-commits] Commit in kdesdk-kcachegrind/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Nov 19 19:05:32 UTC 2014
Date: Wednesday, November 19, 2014 @ 20:05:31
Author: fyan
Revision: 226683
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdesdk-kcachegrind/repos/testing-i686/
kdesdk-kcachegrind/repos/testing-i686/PKGBUILD
(from rev 226682, kdesdk-kcachegrind/trunk/PKGBUILD)
kdesdk-kcachegrind/repos/testing-i686/kdesdk-kcachegrind.install
(from rev 226682, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
kdesdk-kcachegrind/repos/testing-x86_64/
kdesdk-kcachegrind/repos/testing-x86_64/PKGBUILD
(from rev 226682, kdesdk-kcachegrind/trunk/PKGBUILD)
kdesdk-kcachegrind/repos/testing-x86_64/kdesdk-kcachegrind.install
(from rev 226682, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
-------------------------------------------+
testing-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++
testing-i686/kdesdk-kcachegrind.install | 12 ++++++++
testing-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++
testing-x86_64/kdesdk-kcachegrind.install | 12 ++++++++
4 files changed, 102 insertions(+)
Copied: kdesdk-kcachegrind/repos/testing-i686/PKGBUILD (from rev 226682, kdesdk-kcachegrind/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-11-19 19:05:31 UTC (rev 226683)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-kcachegrind
+pkgver=4.14.3
+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' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+optdepends=('php: PHP support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kcachegrind-${pkgver}.tar.xz")
+sha1sums=('b9b3199039771e6a8605b9c123b66786453c62bf')
+
+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/testing-i686/kdesdk-kcachegrind.install (from rev 226682, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
===================================================================
--- testing-i686/kdesdk-kcachegrind.install (rev 0)
+++ testing-i686/kdesdk-kcachegrind.install 2014-11-19 19:05:31 UTC (rev 226683)
@@ -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/testing-x86_64/PKGBUILD (from rev 226682, kdesdk-kcachegrind/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-11-19 19:05:31 UTC (rev 226683)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-kcachegrind
+pkgver=4.14.3
+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' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+optdepends=('php: PHP support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kcachegrind-${pkgver}.tar.xz")
+sha1sums=('b9b3199039771e6a8605b9c123b66786453c62bf')
+
+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/testing-x86_64/kdesdk-kcachegrind.install (from rev 226682, kdesdk-kcachegrind/trunk/kdesdk-kcachegrind.install)
===================================================================
--- testing-x86_64/kdesdk-kcachegrind.install (rev 0)
+++ testing-x86_64/kdesdk-kcachegrind.install 2014-11-19 19:05:31 UTC (rev 226683)
@@ -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