desktop/kdevplatform/PKGBUILD

32 lines
750 B
Bash
Raw Normal View History

2013-12-08 11:33:33 +08:00
# Neophytos Kolokotronis <tetris4 AT gmail DOT com>
pkgname=kdevplatform
2013-12-08 11:33:33 +08:00
pkgver=1.6.0
_pkgver=4.6.0
2013-11-02 06:55:34 +08:00
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")
2013-12-08 11:33:33 +08:00
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
}