summaryrefslogtreecommitdiff
path: root/testing/kdevelop
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-12 00:03:33 +0000
committerroot <root@rshg054.dnsready.net>2012-09-12 00:03:33 +0000
commitdb1cd10264e7cd2810148efd50ce612288343839 (patch)
tree86a6657c9a3f606e6821f6af65bf2952fe56b6be /testing/kdevelop
parent870527386e33c72826da94aee783bb212b06c53a (diff)
Wed Sep 12 00:03:32 UTC 2012
Diffstat (limited to 'testing/kdevelop')
-rw-r--r--testing/kdevelop/PKGBUILD31
-rw-r--r--testing/kdevelop/kdevelop.install13
2 files changed, 44 insertions, 0 deletions
diff --git a/testing/kdevelop/PKGBUILD b/testing/kdevelop/PKGBUILD
new file mode 100644
index 000000000..22df44824
--- /dev/null
+++ b/testing/kdevelop/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 166547 2012-09-10 13:10:09Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=kdevelop
+pkgver=4.3.90
+pkgrel=1
+pkgdesc="A C/C++ development environment for KDE"
+arch=('i686' 'x86_64')
+url="http://www.kdevelop.org/"
+license=('GPL')
+depends=('kdebase-workspace' 'kdevplatform' 'kdesdk-okteta' 'kdebase-katepart')
+makedepends=('cmake' 'automoc4')
+install="${pkgname}.install"
+source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('18ed2dccdeef8abe41c135cd3038038790b4e50a')
+
+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/kdevelop/kdevelop.install b/testing/kdevelop/kdevelop.install
new file mode 100644
index 000000000..5c1338e67
--- /dev/null
+++ b/testing/kdevelop/kdevelop.install
@@ -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
+}