mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
cdbd5fe3c1
Revert "Revert "Revert "changed to sha256sums"""
This reverts commit 44b3ee7bb7
.
Conflicts:
kde-l10n/PKGBUILD
kde-runtime/PKGBUILD
kde-sc.md5
kde-workspace/PKGBUILD
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
#
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=kdebindings-kross-interpreters
|
|
_pkgname=kross-interpreters
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="KDE interpreters for Kross"
|
|
url="http://kde.org/"
|
|
arch=('x86_64')
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=("kdebindings-pykde4>=${_kdever}") # "kdebindings-korundum>=${_kdever}")
|
|
makedepends=('cmake' 'automoc4' 'python2' 'java-environment') # 'ruby')
|
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
|
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
|
|
groups=("kde" "kdebindings" "kde-uninstall")
|
|
provides=('kross-interpreters')
|
|
options=('docs' '!header' 'debug' 'log')
|
|
|
|
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
|
|
}
|