[arch-commits] Commit in kdesdk-kcachegrind/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Aug 21 05:19:56 UTC 2016
Date: Sunday, August 21, 2016 @ 05:19:55
Author: felixonmars
Revision: 274466
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdesdk-kcachegrind/repos/testing-i686/
kdesdk-kcachegrind/repos/testing-i686/PKGBUILD
(from rev 274465, kdesdk-kcachegrind/trunk/PKGBUILD)
kdesdk-kcachegrind/repos/testing-x86_64/
kdesdk-kcachegrind/repos/testing-x86_64/PKGBUILD
(from rev 274465, kdesdk-kcachegrind/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: kdesdk-kcachegrind/repos/testing-i686/PKGBUILD (from rev 274465, kdesdk-kcachegrind/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-08-21 05:19:55 UTC (rev 274466)
@@ -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
+}
Copied: kdesdk-kcachegrind/repos/testing-x86_64/PKGBUILD (from rev 274465, kdesdk-kcachegrind/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-08-21 05:19:55 UTC (rev 274466)
@@ -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
+}
More information about the arch-commits
mailing list