mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:07:14 +08:00
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdevelop
|
|
|
|
pkgname=kdevelop
|
|
pkgver=4.7.3
|
|
pkgrel=1
|
|
pkgdesc="A C/C++ development environment for KDE"
|
|
arch=('x86_64')
|
|
url="http://www.kdevelop.org/"
|
|
license=('GPL')
|
|
depends=('kde-baseapps-katepart' 'kde-runtime' 'kdevplatform')
|
|
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
|
optdepends=('konsolepart4: embedded terminal'
|
|
#'oktetapart4: hex editor integration' > enable in kf5 version
|
|
'git: Git support'
|
|
'subversion: SVN support'
|
|
'cvs: Concurrent Versions System support'
|
|
'gdb: GNU Debugger support'
|
|
'qt5-doc: Qt documentation integration'
|
|
'cmake: cmake integration')
|
|
categories=('programming')
|
|
install=${pkgname}.install
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
sha1sums=('5ebd56ee348d7688eff55ffc6a83018ccf42a4fb')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|