[arch-commits] Commit in kdebase-runtime/repos (8 files)
Andrea Scarpino
andrea at archlinux.org
Sun Mar 4 14:16:28 UTC 2012
Date: Sunday, March 4, 2012 @ 09:16:27
Author: andrea
Revision: 152030
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdebase-runtime/repos/staging-i686/
kdebase-runtime/repos/staging-i686/PKGBUILD
(from rev 152029, kdebase-runtime/trunk/PKGBUILD)
kdebase-runtime/repos/staging-i686/kdebase-runtime.install
(from rev 152029, kdebase-runtime/trunk/kdebase-runtime.install)
kdebase-runtime/repos/staging-x86_64/
kdebase-runtime/repos/staging-x86_64/PKGBUILD
(from rev 152029, kdebase-runtime/trunk/PKGBUILD)
kdebase-runtime/repos/staging-x86_64/kdebase-runtime.install
(from rev 152029, kdebase-runtime/trunk/kdebase-runtime.install)
Modified:
kdebase-runtime/repos/extra-i686/PKGBUILD
kdebase-runtime/repos/extra-x86_64/PKGBUILD
----------------------------------------+
extra-i686/PKGBUILD | 2 -
extra-x86_64/PKGBUILD | 2 -
staging-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++
staging-i686/kdebase-runtime.install | 12 ++++++++
staging-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++
staging-x86_64/kdebase-runtime.install | 12 ++++++++
6 files changed, 112 insertions(+), 2 deletions(-)
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-03-04 14:12:04 UTC (rev 152029)
+++ extra-i686/PKGBUILD 2012-03-04 14:16:27 UTC (rev 152030)
@@ -17,7 +17,7 @@
'rarian: needed by khelpcenter'
'gdb: drkonq crash handler')
install="${pkgname}.install"
-source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kde-runtime-${pkgver}.tar.xz")
sha1sums=('5e1e98535529a67f8d20e8c76d051c81604d7064')
build() {
Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-03-04 14:12:04 UTC (rev 152029)
+++ extra-x86_64/PKGBUILD 2012-03-04 14:16:27 UTC (rev 152030)
@@ -17,7 +17,7 @@
'rarian: needed by khelpcenter'
'gdb: drkonq crash handler')
install="${pkgname}.install"
-source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kde-runtime-${pkgver}.tar.xz")
sha1sums=('5e1e98535529a67f8d20e8c76d051c81604d7064')
build() {
Copied: kdebase-runtime/repos/staging-i686/PKGBUILD (from rev 152029, kdebase-runtime/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-03-04 14:16:27 UTC (rev 152030)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kdebase-runtime
+pkgver=4.8.1
+pkgrel=1
+pkgdesc="KDE Base Runtime Environment"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL')
+depends=('kdelibs' 'ntrack' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons'
+ 'xorg-xauth')
+makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen'
+ 'xine-lib')
+optdepends=('htdig: to build the search index in khelpcenter'
+ 'rarian: needed by khelpcenter'
+ 'gdb: drkonq crash handler')
+install="${pkgname}.install"
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('82b57dc38335716fb382a665b536a9aece4684d6')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kde-runtime-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+ rm -f "${pkgdir}/usr/share/icons/hicolor/index.theme"
+ ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
+
+ # Fix Python2 path
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/nepomuk-simpleresource-rcgen
+}
Copied: kdebase-runtime/repos/staging-i686/kdebase-runtime.install (from rev 152029, kdebase-runtime/trunk/kdebase-runtime.install)
===================================================================
--- staging-i686/kdebase-runtime.install (rev 0)
+++ staging-i686/kdebase-runtime.install 2012-03-04 14:16:27 UTC (rev 152030)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdebase-runtime/repos/staging-x86_64/PKGBUILD (from rev 152029, kdebase-runtime/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-03-04 14:16:27 UTC (rev 152030)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kdebase-runtime
+pkgver=4.8.1
+pkgrel=1
+pkgdesc="KDE Base Runtime Environment"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL')
+depends=('kdelibs' 'ntrack' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons'
+ 'xorg-xauth')
+makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen'
+ 'xine-lib')
+optdepends=('htdig: to build the search index in khelpcenter'
+ 'rarian: needed by khelpcenter'
+ 'gdb: drkonq crash handler')
+install="${pkgname}.install"
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('82b57dc38335716fb382a665b536a9aece4684d6')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kde-runtime-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+ rm -f "${pkgdir}/usr/share/icons/hicolor/index.theme"
+ ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
+
+ # Fix Python2 path
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/nepomuk-simpleresource-rcgen
+}
Copied: kdebase-runtime/repos/staging-x86_64/kdebase-runtime.install (from rev 152029, kdebase-runtime/trunk/kdebase-runtime.install)
===================================================================
--- staging-x86_64/kdebase-runtime.install (rev 0)
+++ staging-x86_64/kdebase-runtime.install 2012-03-04 14:16:27 UTC (rev 152030)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list