mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=kdevplatform
|
|
pkgver=1.1.0
|
|
pkgrel=1
|
|
pkgdesc="A C/C++ development platform for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kdevelop.org/"
|
|
license=('GPL')
|
|
depends=('kdelibs' 'boost' 'subversion' 'commoncpp2')
|
|
optdepends=("kdesdk-kompare: difference checking")
|
|
makedepends=('cmake' 'automoc4')
|
|
install=${pkgname}.install
|
|
source=("http://download.kde.org/stable/kdevelop/4.1.0/src/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('61d7f9dea7712848dc4dd52bf02ea34b')
|
|
|
|
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
|
|
}
|