blob: 390e34aec2b3d868d3aa1620dd0ff1e21ef30464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Aetf <aetf@unlimitedcodeworks.xyz>
# Contributor: Sameed Pervaiz <greenbagels@teknik.io>
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
# Contributor: mosra <mosra@centrum.cz>
pkgname=kdevplatform-git
pkgver=5.0.0.r13516.664d2fc
pkgrel=1
pkgdesc="A C/C++ development platform for KDE. (GIT Version)"
arch=('i686' 'x86_64')
url='http://www.kdevelop.org'
license=('GPL')
depends=('ktexteditor'
'threadweaver'
'kcmutils'
'kitemmodels'
'knewstuff'
'knotifyconfig'
'grantlee-qt5'
'libkomparediff2'
'hicolor-icon-theme'
'llvm'
'kde-cli-tools'
)
optdepends=('kompare-git: difference checking'
'subversion: Subversion plugin')
makedepends=('cmake'
'boost'
'git'
'extra-cmake-modules'
'kdoctools'
'subversion'
)
conflicts=('kdevplatform')
provides=('kdevplatform')
source=('git://anongit.kde.org/kdevplatform')
sha1sums=('SKIP')
install=kdevplatform-git.install
pkgver() {
cd kdevplatform
_ver="$(cat CMakeLists.txt | grep -m3 -e KDEVPLATFORM_VERSION_MAJOR -e KDEVPLATFORM_VERSION_MINOR -e KDEVPLATFORM_VERSION_PATCH | grep -o "[[:digit:]]*" | paste -sd'.')"
echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../kdevplatform \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
|