diff options
author | root <root@rshg054.dnsready.net> | 2012-05-31 00:03:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-31 00:03:48 +0000 |
commit | f1ae949e08a764ac063703dc9bb7f0afd7c16e96 (patch) | |
tree | b542ace0cdaf945c5e495f31e3c87537017c614d /kde-unstable/kdebindings-kross | |
parent | f676c2f568b9c75daa3e2b688978b877f950953d (diff) |
Thu May 31 00:03:48 UTC 2012
Diffstat (limited to 'kde-unstable/kdebindings-kross')
-rw-r--r-- | kde-unstable/kdebindings-kross/PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/kde-unstable/kdebindings-kross/PKGBUILD b/kde-unstable/kdebindings-kross/PKGBUILD new file mode 100644 index 000000000..f9eb6df19 --- /dev/null +++ b/kde-unstable/kdebindings-kross/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 160114 2012-05-29 22:42:09Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgbase=kdebindings-kross +pkgname=('kdebindings-kross-python' +# 'kdebindings-kross-ruby' + 'kdebindings-kross-java') +pkgver=4.8.80 +pkgrel=1 +url="https://projects.kde.org/projects/kde/kdebindings/kross-interpreters" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kdebindings') +makedepends=('kdelibs' 'cmake' 'automoc4' 'python2' 'java-environment') +source=("http://download.kde.org/unstable/${pkgver}/src/kross-interpreters-${pkgver}.tar.xz") +sha1sums=('829814ae8753ffe4c7dc44a733c022b5447d7fa5') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kross-interpreters-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_ruby=OFF \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 + make +} + +package_kdebindings-kross-python() { + pkgdesc="Python2 language interpreters to enable in-process scripting with Kross" + depends=('kdelibs' 'python2') + + cd "${srcdir}"/build/python + make DESTDIR="${pkgdir}" install +} + +package_kdebindings-kross-java() { + pkgdesc="Java language interpreters to enable in-process scripting with Kross" + depends=('kdelibs' 'java-environment') + + cd "${srcdir}"/build/java + make DESTDIR="${pkgdir}" install +} + +package_kdebindings-kross-ruby() { + pkgdesc="Ruby language interpreters to enable in-process scripting with Kross" + depends=('kdelibs' 'ruby') + + cd "${srcdir}"/build/ruby + make DESTDIR="${pkgdir}" install +} |