desktop/kdebindings-kross-interpreters/PKGBUILD

43 lines
1.1 KiB
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-kross-interpreters
_pkgname=kross-interpreters
pkgver=${_kdever}
pkgrel=2
pkgdesc="KDE interpreters for Kross"
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-python2>=${_kdever}")
makedepends=('cmake' 'automoc4' 'python2' 'java-environment')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('kross-interpreters')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd "${srcdir}"
rm -rf build
mkdir build
cd build
cmake ../kross-interpreters-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_ruby=OFF
make
}
package() {
cd ${srcdir}/build/java
make DESTDIR=${pkgdir} install
cd ${srcdir}/build/python
make DESTDIR=${pkgdir} install
}