2010-05-29 05:38:34 +08:00
|
|
|
pkgname=kdevplatform
|
2016-01-27 03:49:41 +08:00
|
|
|
pkgver=1.7.3
|
|
|
|
_pkgver=4.7.3
|
|
|
|
pkgrel=1
|
2010-05-29 05:38:34 +08:00
|
|
|
pkgdesc="A C/C++ development platform for KDE"
|
2012-11-05 05:33:23 +08:00
|
|
|
arch=('x86_64')
|
2010-05-29 05:38:34 +08:00
|
|
|
url="http://www.kdevelop.org/"
|
|
|
|
license=('GPL')
|
2012-03-14 12:19:18 +08:00
|
|
|
depends=('kdelibs' 'boost' 'subversion' 'qjson')
|
2016-01-27 03:49:41 +08:00
|
|
|
#optdepends=("kompare: difference checking") > no kf5 version available yet
|
2010-05-29 05:38:34 +08:00
|
|
|
makedepends=('cmake' 'automoc4')
|
|
|
|
install=${pkgname}.install
|
2016-01-27 03:49:41 +08:00
|
|
|
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
|
|
sha1sums=('7201629fb4fa9bec83def4bf691f4eda41bfc555')
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2012-03-14 12:19:18 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
2012-03-14 12:19:18 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|