desktop/kdevplatform/PKGBUILD

30 lines
732 B
Bash
Raw Normal View History

pkgname=kdevplatform
2016-01-27 03:49:41 +08:00
pkgver=1.7.3
_pkgver=4.7.3
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')
2016-01-27 03:49:41 +08:00
#optdepends=("kompare: difference checking") > no kf5 version available yet
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
2016-01-27 03:49:41 +08:00
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('7201629fb4fa9bec83def4bf691f4eda41bfc555')
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
}