desktop/kdevplatform/PKGBUILD
2013-12-08 03:33:33 +00:00

32 lines
750 B
Bash

# Neophytos Kolokotronis <tetris4 AT gmail DOT com>
pkgname=kdevplatform
pkgver=1.6.0
_pkgver=4.6.0
pkgrel=1
pkgdesc="A C/C++ development platform for KDE"
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
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('26d78c5374d35ec48d38b780e011883a')
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
}