[arch-commits] Commit in kdepim-runtime/repos/testing-x86_64 (2 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Feb 6 08:33:32 UTC 2013
Date: Wednesday, February 6, 2013 @ 09:33:32
Author: andrea
Revision: 177103
archrelease: copy trunk to testing-x86_64
Added:
kdepim-runtime/repos/testing-x86_64/PKGBUILD
(from rev 177102, kdepim-runtime/trunk/PKGBUILD)
kdepim-runtime/repos/testing-x86_64/kdepim-runtime.install
(from rev 177102, kdepim-runtime/trunk/kdepim-runtime.install)
------------------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
kdepim-runtime.install | 13 +++++++++++++
2 files changed, 44 insertions(+)
Copied: kdepim-runtime/repos/testing-x86_64/PKGBUILD (from rev 177102, kdepim-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-02-06 08:33:32 UTC (rev 177103)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kdepim-runtime
+pkgver=4.10.0
+pkgrel=1
+pkgdesc='Extends the functionality of kdepim'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kdepim-runtime'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime' 'libkgapi' 'libkolab')
+makedepends=('cmake' 'automoc4' 'boost')
+install="${pkgname}.install"
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('6cfa320c03dce508d9982767c9718c98606f301f')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdepim-runtime/repos/testing-x86_64/kdepim-runtime.install (from rev 177102, kdepim-runtime/trunk/kdepim-runtime.install)
===================================================================
--- kdepim-runtime.install (rev 0)
+++ kdepim-runtime.install 2013-02-06 08:33:32 UTC (rev 177103)
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list