From db1cd10264e7cd2810148efd50ce612288343839 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Sep 2012 00:03:33 +0000 Subject: Wed Sep 12 00:03:32 UTC 2012 --- testing/kdevplatform/PKGBUILD | 33 +++++++++++++++++++++++++++++++ testing/kdevplatform/kdevplatform.install | 11 +++++++++++ 2 files changed, 44 insertions(+) create mode 100644 testing/kdevplatform/PKGBUILD create mode 100644 testing/kdevplatform/kdevplatform.install (limited to 'testing/kdevplatform') diff --git a/testing/kdevplatform/PKGBUILD b/testing/kdevplatform/PKGBUILD new file mode 100644 index 000000000..5f8c52bff --- /dev/null +++ b/testing/kdevplatform/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 166549 2012-09-10 13:31:25Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Giovanni Scafora + +pkgname=kdevplatform +pkgver=1.3.90 +_pkgver=4.3.90 +pkgrel=1 +pkgdesc="A C/C++ development platform for KDE" +arch=('i686' 'x86_64') +url="http://www.kdevelop.org/" +license=('GPL') +depends=('kdelibs' 'subversion' 'qjson') +optdepends=("kdesdk-kompare: difference checking") +makedepends=('cmake' 'automoc4' 'boost') +install=${pkgname}.install +source=("http://download.kde.org/unstable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('88300217681caa5c69f09b6428f2a6298cbd4733') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/testing/kdevplatform/kdevplatform.install b/testing/kdevplatform/kdevplatform.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/testing/kdevplatform/kdevplatform.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf