desktop/kdevplatform/PKGBUILD

32 lines
752 B
Bash
Raw Normal View History

2013-11-02 06:55:34 +08:00
# Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=kdevplatform
2013-11-02 06:55:34 +08:00
pkgver=1.5.2
_pkgver=4.5.2
pkgrel=1
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
2013-11-02 06:55:34 +08:00
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('a2fa1f765e992739546fa04d0aaffc4f2200c520')
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
}