desktop/kdevelop/PKGBUILD
2012-10-16 21:29:23 +00:00

37 lines
834 B
Bash

#
# Chakra Package
#
# abveritas@chakra-project.org
# Drake Justice <djustice[at]chakra-project[dot]org>
#
pkgname=kdevelop
pkgver=4.4.0
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')
makedepends=('cmake' 'automoc4' 'perl' 'docbook-xsl')
categories=('programming')
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('271a6ab3dd6063175e9ce18810bed7437d451ecf')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}