2016-10-17 23:04:32 +08:00
|
|
|
# Include global configuration
|
2016-03-31 01:15:05 +08:00
|
|
|
source ../kdeapps.conf
|
|
|
|
|
2010-05-29 05:38:34 +08:00
|
|
|
pkgname=kdevplatform
|
2016-10-17 23:04:32 +08:00
|
|
|
pkgver=$_kdevver
|
2017-03-05 22:19:11 +08:00
|
|
|
pkgrel=1
|
2016-03-31 01:15:05 +08:00
|
|
|
pkgdesc='A C/C++ development platform for KDE'
|
|
|
|
arch=(x86_64)
|
|
|
|
url='http://www.kdevelop.org/'
|
|
|
|
license=(GPL)
|
|
|
|
option=('debug')
|
|
|
|
depends=(grantlee-qt5 hicolor-icon-theme kcmutils threadweaver kitemmodels ktexteditor knotifyconfig knewstuff libkomparediff2 qt5-webkit)
|
|
|
|
makedepends=(extra-cmake-modules boost subversion)
|
|
|
|
optdepends=('subversion: Subversion plugin')
|
|
|
|
install="$pkgname.install"
|
2017-03-05 22:19:11 +08:00
|
|
|
source=("http://download.kde.org/stable/kdevelop/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.asc})
|
2016-10-17 23:04:32 +08:00
|
|
|
sha256sums=("`grep ${pkgname}-${pkgver}.tar.xz ../kdevelop.checksums | cut -d " " -f1`"
|
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('329FD02C5AA48FCC77A4BBF0AC44AC6DB29779E6')
|
2016-03-31 01:15:05 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
2017-08-04 09:31:28 +08:00
|
|
|
|
|
|
|
sed -i 's|qdbus|qdbus-qt5|g' "${pkgname}-${pkgver}/util/kdevplatform_shell_environment.sh"
|
2016-03-31 01:15:05 +08:00
|
|
|
}
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
2016-03-31 01:15:05 +08:00
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
2012-03-14 12:19:18 +08:00
|
|
|
make
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-03-31 01:15:05 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|