desktop/kdevplatform/PKGBUILD
2012-04-13 23:56:57 +00:00

39 lines
869 B
Bash

#
# Chakra Package
#
# Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Drake Justice <djustice[at]chakra-project[dot]org>
#
pkgname=kdevplatform
pkgver=1.3.1
pkgrel=1
pkgdesc="A C/C++ development platform for KDE"
arch=('i686' 'x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs' 'boost' 'subversion' 'qjson')
optdepends=("kdesdk-kompare: difference checking")
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://download.kde.org/stable/kdevelop/4.3.1/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('bba0cefdac6de83c8d3354534a94e8500dccda37')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
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
}