mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
28 lines
900 B
Bash
28 lines
900 B
Bash
# $Id: PKGBUILD 52129 2009-09-16 08:02:01Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
|
|
|
pkgname=kdevelop
|
|
pkgver=3.9.95
|
|
pkgrel=2
|
|
pkgdesc="A C/C++ development environment for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kdevelop.org/"
|
|
license=('GPL')
|
|
depends=('kdebase-workspace' 'kdevplatform' 'libldap>=2.4.18-1')
|
|
makedepends=('cmake' 'automoc4' 'perl')
|
|
source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('70064ad0e285d29242a90af3f3c2283f')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|