mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-11 02:04:38 +08:00
37 lines
890 B
Bash
37 lines
890 B
Bash
#
|
|
# Chakra Package
|
|
#
|
|
# Phil Miller <philm[at]chakra-project[dog]org>
|
|
# Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
# Drake Justice <djustice[at]chakra-project[dot]org>
|
|
#
|
|
|
|
pkgname=kdevelop
|
|
pkgver=4.2.3
|
|
pkgrel=3
|
|
pkgdesc="A C/C++ development environment for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kdevelop.org/"
|
|
license=('GPL')
|
|
depends=('kdebase-workspace' 'kdevplatform')
|
|
makedepends=('cmake' 'automoc4' 'perl')
|
|
install=${pkgname}.install
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
sha1sums=('e87ae29b343df3fea9bda7d8d85ec696e57b68e4')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|