From 1ae31a85e191bbf7313077b472a66d1c24af1f74 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 20 Aug 2013 02:15:20 -0700 Subject: Tue Aug 20 02:14:51 PDT 2013 --- extra/kdesdk-dev-utils/PKGBUILD | 35 +++++++++++++++++++++++++ extra/kdesdk-dev-utils/kdesdk-dev-utils.install | 12 +++++++++ 2 files changed, 47 insertions(+) create mode 100644 extra/kdesdk-dev-utils/PKGBUILD create mode 100644 extra/kdesdk-dev-utils/kdesdk-dev-utils.install (limited to 'extra/kdesdk-dev-utils') diff --git a/extra/kdesdk-dev-utils/PKGBUILD b/extra/kdesdk-dev-utils/PKGBUILD new file mode 100644 index 000000000..52f38e0bc --- /dev/null +++ b/extra/kdesdk-dev-utils/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Andrea Scarpino + +pkgname=kdesdk-dev-utils +pkgver=4.11.0 +pkgrel=1 +pkgdesc='Small utilities for developers using KDE/Qt libs/frameworks' +url='https://projects.kde.org/projects/kde/kdesdk/kde-dev-utils' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdesdk') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +conflicts=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod' + 'kdesdk-kstartperf' 'kdesdk-kuiviewer') +replaces=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod' + 'kdesdk-kstartperf' 'kdesdk-kuiviewer') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kde-dev-utils-${pkgver}.tar.xz") +sha1sums=('5242c8db5176859838438ba0e24e30bd7afc862c') + +build() { + mkdir build + cd build + cmake ../kde-dev-utils-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR=$pkgdir install +} diff --git a/extra/kdesdk-dev-utils/kdesdk-dev-utils.install b/extra/kdesdk-dev-utils/kdesdk-dev-utils.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdesdk-dev-utils/kdesdk-dev-utils.install @@ -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 +} -- cgit v1.2.3-54-g00ecf