summaryrefslogtreecommitdiff
path: root/extra/kdesdk/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
committerroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
commit39711f3264d3b9de2ff6392649274d6333932457 (patch)
treede0577b44ca853064f52a0df25ee9f22efd756bc /extra/kdesdk/PKGBUILD
parent738e6c6d93b4c7118e49b38c610abed8b7f7d55a (diff)
Sun Jan 29 23:15:02 UTC 2012
Diffstat (limited to 'extra/kdesdk/PKGBUILD')
-rw-r--r--extra/kdesdk/PKGBUILD49
1 files changed, 30 insertions, 19 deletions
diff --git a/extra/kdesdk/PKGBUILD b/extra/kdesdk/PKGBUILD
index 0608eea90..024b23834 100644
--- a/extra/kdesdk/PKGBUILD
+++ b/extra/kdesdk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 144767 2011-12-08 10:28:41Z andrea $
+# $Id: PKGBUILD 147901 2012-01-28 10:36:40Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
@@ -14,44 +14,38 @@ pkgname=('kdesdk-cervisia'
'kdesdk-kompare'
'kdesdk-kpartloader'
'kdesdk-kprofilemethod'
-# 'kdesdk-kspy'
'kdesdk-kstartperf'
'kdesdk-kuiviewer'
'kdesdk-lokalize'
'kdesdk-okteta'
'kdesdk-poxml'
-# 'kdesdk-scheck'
'kdesdk-scripts'
'kdesdk-strigi-analyzer'
'kdesdk-umbrello')
-pkgver=4.7.4
+pkgver=4.8.0
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
-makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'subversion' 'antlr2'
- 'kdepimlibs' 'kdebase-lib')
+makedepends=('cmake' 'automoc4' 'boost' 'subversion' 'antlr2' 'kdepimlibs'
+ 'kdebase-lib')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
'fix-python2-path.patch')
-sha1sums=('3a0f61204653dc3f9f975732b6f67659c60ecaf3'
- 'd05ca0231869c484fd3861955d960a60aff7dcfb')
+sha1sums=('2c55ed17350cb5eba4213007614e4c587feb94b9'
+ '923cabd7a877cf9a68efeb24fbf3d5827e1d949e')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
- # Fix python2 path
+ # Fix hardcoded python2 cmd
patch -Np1 -i ${srcdir}/fix-python2-path.patch
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
@@ -60,7 +54,7 @@ package_kdesdk-cervisia() {
pkgdesc='CVS Frontend'
depends=('kdebase-runtime')
url="http://kde.org/applications/development/cervisia/"
- install='kdesdk.install'
+ install='kdesdk-cervisia.install'
cd $srcdir/build/cervisia
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/cervisia
@@ -93,11 +87,15 @@ package_kdesdk-kcachegrind() {
depends=('kdebase-runtime' 'python2')
optdepends=('php: PHP support')
url="http://kde.org/applications/development/kcachegrind/"
- install='kdesdk.install'
+ install='kdesdk-kcachegrind.install'
cd $srcdir/build/kcachegrind
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kcachegrind
make DESTDIR=$pkgdir install
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/hotshot2calltree
}
package_kdesdk-kdeaccounts-plugin() {
@@ -117,6 +115,7 @@ package_kdesdk-kdepalettes() {
package_kdesdk-kioslave() {
pkgdesc='KDED Subversion Module'
depends=('kdebase-runtime' 'subversion')
+ install='kdesdk.install'
cd $srcdir/build/kioslave
make DESTDIR=$pkgdir install
}
@@ -173,7 +172,7 @@ package_kdesdk-kuiviewer() {
pkgdesc='Qt Designer UI File Viewer'
depends=('kdebase-runtime')
url="http://kde.org/applications/development/kuiviewer/"
- install='kdesdk.install'
+ install='kdesdk-kuiviewer.install'
cd $srcdir/build/kuiviewer
make DESTDIR=$pkgdir install
}
@@ -183,11 +182,15 @@ package_kdesdk-lokalize() {
depends=('kdebase-runtime' 'kdebindings-python')
url="http://kde.org/applications/development/lokalize/"
optdepends=('translate-toolkit: enable extra python script')
- install='kdesdk.install'
+ install='kdesdk-lokalize.install'
cd $srcdir/build/lokalize
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/lokalize
make DESTDIR=$pkgdir install
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/share/apps/lokalize/scripts/odf/xliffmerge.py
}
package_kdesdk-okteta() {
@@ -195,7 +198,7 @@ package_kdesdk-okteta() {
depends=('kdebase-runtime')
replaces=('kdeutils-okteta')
conflicts=('kdeutils-okteta')
- url="http://kde.org/applications/utilities/okteta"
+ url="http://kde.org/applications/utilities/okteta/"
install='kdesdk-okteta.install'
cd $srcdir/build/okteta
make DESTDIR=$pkgdir install
@@ -226,6 +229,10 @@ package_kdesdk-scripts() {
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/scripts
make DESTDIR=$pkgdir install
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/{{kde-systemsettings-tree,kdelnk2desktop,zonetab2pot}.py,kde_generate_export_header}
}
package_kdesdk-strigi-analyzer() {
@@ -239,9 +246,13 @@ package_kdesdk-umbrello() {
pkgdesc='UML Modeller'
depends=('kdebase-runtime')
url="http://kde.org/applications/development/umbrello/"
- install='kdesdk.install'
+ install='kdesdk-umbrello.install'
cd $srcdir/build/umbrello
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/umbrello
make DESTDIR=$pkgdir install
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/share/apps/umbrello/headings/heading.py
}