summaryrefslogtreecommitdiff
path: root/extra/kdevplatform/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdevplatform/PKGBUILD')
-rw-r--r--extra/kdevplatform/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/kdevplatform/PKGBUILD b/extra/kdevplatform/PKGBUILD
new file mode 100644
index 000000000..0b3544576
--- /dev/null
+++ b/extra/kdevplatform/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 107401 2011-01-24 17:29:42Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=kdevplatform
+pkgver=1.2.0
+_pkgver=4.2.0
+pkgrel=1
+pkgdesc="A C/C++ development platform for KDE"
+arch=('i686' 'x86_64')
+url="http://www.kdevelop.org/"
+license=('GPL')
+depends=('kdelibs' 'boost-libs' 'subversion' 'qjson')
+optdepends=("kdesdk-kompare: difference checking")
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('7f0f8c35435f55238483b74bea013a9454e3c7ae')
+
+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
+}