diff options
author | root <root@rshg054.dnsready.net> | 2012-09-12 00:03:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-12 00:03:33 +0000 |
commit | db1cd10264e7cd2810148efd50ce612288343839 (patch) | |
tree | 86a6657c9a3f606e6821f6af65bf2952fe56b6be /testing/kdevplatform | |
parent | 870527386e33c72826da94aee783bb212b06c53a (diff) |
Wed Sep 12 00:03:32 UTC 2012
Diffstat (limited to 'testing/kdevplatform')
-rw-r--r-- | testing/kdevplatform/PKGBUILD | 33 | ||||
-rw-r--r-- | testing/kdevplatform/kdevplatform.install | 11 |
2 files changed, 44 insertions, 0 deletions
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 <andrea@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +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 +} |