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
2015-02-08 21:23:02 +08:00
pkgver=1.7.1
_pkgver=4.7.1
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
2015-02-08 21:23:02 +08:00
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('f6c123d65ae8d5c50944d548c8bc812f')
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
}