[arch-commits] Commit in kdebindings-kross/repos (3 files)

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:14:35 EST 2011


    Date: Thursday, November 24, 2011 @ 11:14:34
  Author: andrea
Revision: 143343

db-move: moved kdebindings-kross from [staging] to [kde-unstable] (i686)

Added:
  kdebindings-kross/repos/kde-unstable-i686/
  kdebindings-kross/repos/kde-unstable-i686/PKGBUILD
    (from rev 143277, kdebindings-kross/repos/staging-i686/PKGBUILD)
Deleted:
  kdebindings-kross/repos/staging-i686/

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Copied: kdebindings-kross/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdebindings-kross/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2011-11-24 16:14:34 UTC (rev 143343)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdebindings-kross
+pkgname=('kdebindings-kross-python'
+#         'kdebindings-kross-ruby'
+         'kdebindings-kross-java')
+pkgver=4.7.80
+pkgrel=1
+url="http://kde.org/"
+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.bz2")
+sha1sums=('52adafe42de134c6bc53855dbc464df2a1190efd')
+
+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
+}



More information about the arch-commits mailing list