Date: Friday, November 8, 2013 @ 21:44:45
  Author: andrea
Revision: 199226

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdesdk-kcachegrind/repos/kde-unstable-i686/
  kdesdk-kcachegrind/repos/kde-unstable-i686/PKGBUILD
    (from rev 199225, kdesdk-kcachegrind/kde-unstable/PKGBUILD)
  kdesdk-kcachegrind/repos/kde-unstable-i686/kdesdk-kcachegrind.install
    (from rev 199225, 
kdesdk-kcachegrind/kde-unstable/kdesdk-kcachegrind.install)
  kdesdk-kcachegrind/repos/kde-unstable-x86_64/
  kdesdk-kcachegrind/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 199225, kdesdk-kcachegrind/kde-unstable/PKGBUILD)
  kdesdk-kcachegrind/repos/kde-unstable-x86_64/kdesdk-kcachegrind.install
    (from rev 199225, 
kdesdk-kcachegrind/kde-unstable/kdesdk-kcachegrind.install)

------------------------------------------------+
 kde-unstable-i686/PKGBUILD                     |   36 +++++++++++++++++++++++
 kde-unstable-i686/kdesdk-kcachegrind.install   |   12 +++++++
 kde-unstable-x86_64/PKGBUILD                   |   36 +++++++++++++++++++++++
 kde-unstable-x86_64/kdesdk-kcachegrind.install |   12 +++++++
 4 files changed, 96 insertions(+)

Copied: kdesdk-kcachegrind/repos/kde-unstable-i686/PKGBUILD (from rev 199225, 
kdesdk-kcachegrind/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD                          (rev 0)
+++ kde-unstable-i686/PKGBUILD  2013-11-08 20:44:45 UTC (rev 199226)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdesdk-kcachegrind
+pkgver=4.11.80
+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/unstable/${pkgver}/src/kcachegrind-${pkgver}.tar.xz";)
+sha1sums=('65dccd5c2c9a6d58c04f820ae3a7e14981ccdc4c')
+
+build() {
+  mkdir 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/kde-unstable-i686/kdesdk-kcachegrind.install 
(from rev 199225, kdesdk-kcachegrind/kde-unstable/kdesdk-kcachegrind.install)
===================================================================
--- kde-unstable-i686/kdesdk-kcachegrind.install                                
(rev 0)
+++ kde-unstable-i686/kdesdk-kcachegrind.install        2013-11-08 20:44:45 UTC 
(rev 199226)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 199225, 
kdesdk-kcachegrind/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD                                (rev 0)
+++ kde-unstable-x86_64/PKGBUILD        2013-11-08 20:44:45 UTC (rev 199226)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdesdk-kcachegrind
+pkgver=4.11.80
+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/unstable/${pkgver}/src/kcachegrind-${pkgver}.tar.xz";)
+sha1sums=('65dccd5c2c9a6d58c04f820ae3a7e14981ccdc4c')
+
+build() {
+  mkdir 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/kde-unstable-x86_64/kdesdk-kcachegrind.install 
(from rev 199225, kdesdk-kcachegrind/kde-unstable/kdesdk-kcachegrind.install)
===================================================================
--- kde-unstable-x86_64/kdesdk-kcachegrind.install                              
(rev 0)
+++ kde-unstable-x86_64/kdesdk-kcachegrind.install      2013-11-08 20:44:45 UTC 
(rev 199226)
@@ -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
+}

Reply via email to