2011-07-23 02:02:15 +08:00
|
|
|
#
|
|
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-09-01 12:28:03 +08:00
|
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2011-07-23 02:02:15 +08:00
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=kdebindings-kross-interpreters
|
|
|
|
_pkgname=kross-interpreters
|
|
|
|
pkgver=${_kdever}
|
2012-08-30 08:17:20 +08:00
|
|
|
pkgrel=1
|
2011-07-23 02:02:15 +08:00
|
|
|
pkgdesc="KDE interpreters for Kross"
|
|
|
|
url="http://kde.org/"
|
2012-11-18 06:38:37 +08:00
|
|
|
arch=('x86_64')
|
2011-07-23 02:02:15 +08:00
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2013-06-18 06:47:36 +08:00
|
|
|
depends=("kdebindings-pykde4>=${_kdever}") # "kdebindings-korundum>=${_kdever}")
|
|
|
|
makedepends=('cmake' 'automoc4' 'python2' 'java-environment') # 'ruby')
|
2012-03-30 09:11:15 +08:00
|
|
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
2013-10-01 02:48:23 +08:00
|
|
|
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
|
2011-07-23 02:02:15 +08:00
|
|
|
groups=("kde" "kdebindings" "kde-uninstall")
|
|
|
|
provides=('kross-interpreters')
|
2013-07-24 08:15:53 +08:00
|
|
|
options=('docs' '!header' 'debug' 'log')
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
build() {
|
2012-11-18 06:38:37 +08:00
|
|
|
cd "${srcdir}"
|
2013-07-24 08:15:53 +08:00
|
|
|
rm -rf build
|
2012-11-18 06:38:37 +08:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake ../kross-interpreters-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DBUILD_ruby=OFF
|
|
|
|
make
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
package() {
|
2012-11-18 06:38:37 +08:00
|
|
|
cd ${srcdir}/build/java
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2012-11-18 06:38:37 +08:00
|
|
|
cd ${srcdir}/build/python
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|