mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 07:27:15 +08:00
33 lines
770 B
Bash
33 lines
770 B
Bash
source ../kdeapps.conf
|
|
|
|
pkgname=kdevplatform
|
|
pkgver=5.0.1
|
|
_pkgver=$pkgver
|
|
pkgrel=1
|
|
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"
|
|
source=("http://download.kde.org/stable/kdevelop/$_pkgver/src/$pkgname-$pkgver.tar.xz")
|
|
sha1sums=('5f46300e67be63bcd00f72cbf5304bee8b220c99')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|