2010-05-31 02:50:48 +08:00
|
|
|
#
|
2012-03-14 12:19:18 +08:00
|
|
|
# Chakra Package
|
|
|
|
#
|
|
|
|
# Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# Drake Justice <djustice[at]chakra-project[dot]org>
|
2010-05-31 02:50:48 +08:00
|
|
|
#
|
|
|
|
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
pkgname=kdevplatform
|
2012-10-17 05:29:23 +08:00
|
|
|
pkgver=1.4.0
|
2011-04-05 10:11:19 +08:00
|
|
|
pkgrel=1
|
2010-05-29 05:38:34 +08:00
|
|
|
pkgdesc="A C/C++ development platform for KDE"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.kdevelop.org/"
|
|
|
|
license=('GPL')
|
2012-03-14 12:19:18 +08:00
|
|
|
depends=('kdelibs' 'boost' 'subversion' 'qjson')
|
2010-05-29 05:38:34 +08:00
|
|
|
optdepends=("kdesdk-kompare: difference checking")
|
|
|
|
makedepends=('cmake' 'automoc4')
|
|
|
|
install=${pkgname}.install
|
2012-10-17 05:29:23 +08:00
|
|
|
source=("http://download.kde.org/stable/kdevelop/4.4.0/src/${pkgname}-${pkgver}.tar.bz2")
|
|
|
|
sha1sums=('2db4fc073385c49d82de526273272da648a0af60')
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
build() {
|
2012-03-14 12:19:18 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
|
2010-05-29 05:38:34 +08:00
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2012-03-14 12:19:18 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
2012-03-14 12:19:18 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|