PKGBUILD 983 Bytes
Newer Older
Phil Miller's avatar
Phil Miller committed
1 2 3 4 5 6 7 8
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
9 10

pkgname=kdevelop
abveritas's avatar
abveritas committed
11
pkgver=4.0.2
amnon's avatar
amnon committed
12
pkgrel=1
13 14 15 16 17 18 19 20
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')
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
abveritas's avatar
abveritas committed
21
md5sums=('5390087c06574892baaf6f2e7a2f9d05')
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

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
}