desktop/kdevplatform/PKGBUILD
2012-11-04 21:33:23 +00:00

40 lines
881 B
Bash

#
# Chakra Package
#
# Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Drake Justice <djustice[at]chakra-project[dot]org>
#
pkgname=kdevplatform
pkgver=1.4.1
_pkgver=4.4.1
pkgrel=1
pkgdesc="A C/C++ development platform for KDE"
arch=('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/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('48f2b40256e96aa015fa40978d5a9a93056fba75')
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
}