mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
32 lines
800 B
Bash
32 lines
800 B
Bash
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=kdevelop
|
|
pkgver=4.7.1
|
|
pkgrel=2
|
|
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' 'kdesdk-okteta')
|
|
makedepends=('cmake' 'automoc4' 'perl' 'docbook-xsl')
|
|
categories=('programming')
|
|
install=${pkgname}.install
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
|
md5sums=('dc7e6259a999bd34ce644ffea4727e76')
|
|
|
|
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
|
|
}
|