mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
30 lines
969 B
Bash
30 lines
969 B
Bash
# $Id: $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
|
|
|
pkgname=kdevplatform
|
|
pkgver=0.9.95
|
|
pkgrel=1
|
|
pkgdesc="A C/C++ development platform for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kdevelop.org/"
|
|
license=('GPL')
|
|
depends=('kdelibs' 'boost>=1.39.0' 'subversion' 'commoncpp2')
|
|
optdepends=("kdesdk-kompare: difference checking")
|
|
makedepends=('cmake' 'automoc4')
|
|
source=("http://download.kde.org/unstable/kdevelop/3.9.95/src/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('e38fd54ea9c16b41222e893c06ca3946')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
# sed -i "s:38:39:g" $pkgname-$pkgver/plugins/classbrowser/CMakeLists.txt
|
|
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
|
|
}
|