desktop/kdevplatform/PKGBUILD

43 lines
1.2 KiB
Bash
Raw Normal View History

2013-12-08 11:33:33 +08:00
# Neophytos Kolokotronis <tetris4 AT gmail DOT com>
pkgname=kdevplatform
2014-09-14 08:56:17 +08:00
pkgver=1.7.0
_pkgver=4.7.0
2014-09-14 09:38:38 +08:00
pkgrel=2
pkgdesc="A C/C++ development platform for KDE"
2012-11-05 05:33:23 +08:00
arch=('x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs' 'boost' 'subversion' 'qjson')
optdepends=("kdesdk-kompare: difference checking")
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
2014-09-14 09:38:38 +08:00
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz"
"revert-shell1.patch::http://quickgit.kde.org/?p=kdevplatform.git&a=commitdiff&h=2bc4e2c5e396987fbf6beb4d7630018cdb934550&o=plain"
"revert-shell2.patch::http://quickgit.kde.org/?p=kdevplatform.git&a=commitdiff&h=5186645ab0f845b495552fcda2ff9c68bce0dc7b&o=plain")
md5sums=('72375e077f97b44056c76c7f85ce49ad'
'881e922fdfb595224bfc91836fe4a841'
'8996bb8f5a53dd3806041ab5a1978e41')
prepare() {
cd "${pkgname}-${pkgver}"
# temp workaround kde bug 339056
patch -R -Np1 -i ../revert-shell1.patch
patch -R -Np1 -i ../revert-shell2.patch
}
build() {
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
}