desktop/kdevplatform/PKGBUILD
Manuel Tortosa 66ed44c41d Version up
2010-05-30 01:51:52 +00:00

34 lines
904 B
Bash

# $Id: PKGBUILD 78864 2010-04-28 21:40:12Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=kdevplatform
pkgver=1.0.0
pkgrel=2
pkgdesc="A C/C++ development platform for KDE"
arch=('i686' 'x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs' 'boost' 'subversion' 'commoncpp2')
optdepends=("kdesdk-kompare: difference checking")
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://download.kde.org/stable/kdevelop/4.0.0/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('0aa7a6d207d5675ed31ceeacfdda7a69')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install || return 1
}