blob: 32981bc0cdd3c5596dec067dfe85a8e423e2cee4 (
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
|
# $Id: PKGBUILD 144973 2011-12-12 18:32:32Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=kdevplatform
pkgver=1.2.3
_pkgver=4.2.3
pkgrel=2
pkgdesc="A C/C++ development platform for KDE"
arch=('i686' 'x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs' 'subversion' 'qjson')
optdepends=("kdesdk-kompare: difference checking")
makedepends=('cmake' 'automoc4' 'boost')
install=${pkgname}.install
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
'subversion17.patch')
sha1sums=('c8badd157c2477b1b299403d01d40f68a1ba14cd'
'08e2ab2005a7a447f1733e8449a9bc926035fb9e')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/subversion17.patch
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
|