Commit 713ba625 authored by Fabian Kosmale's avatar Fabian Kosmale

kdebindings-qtruby: rebuild against ruby 2.1

parent 24ad56fd
......@@ -273,3 +273,5 @@ b92ebbd85ccbcced61bb8fd5c94c59b00c73f7ba7c3c6d22552f5fad530e21cc kde-l10n-sl-4.
3b804b4dd6442066d0fe97c4a7c3d524e44949bb040ca926745fd830bc7f6785 kde-l10n-wa-4.14.3.tar.xz
b84a9de26a9de253a1e9d7c4757af2e2957126521c32c6e76d9391d49aeaafe4 kde-l10n-zh_CN-4.14.3.tar.xz
b14e60377f096f2bdacce28ea2878385002daf3de2bb8188b6591165c7da7b11 kde-l10n-zh_TW-4.14.3.tar.xz
2050e79b5e116eefef97d9b2dc96b3be635621bcbf856a8009b56dc40f953c9d qtruby-4.14.3.tar.xz
......@@ -2,24 +2,29 @@
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdebindings-qtruby
_pkgname=qtruby
pkgver=${_kdever}
pkgrel=1
pkgver=${_oldkdever}
pkgrel=2
pkgdesc="Qt bindings for ruby"
url="http://kde.org/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-smokeqt>=${_kdever}" "ruby")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}")
depends=("kdebindings-smokeqt>=${_oldkdever}" "ruby")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_oldkdever}")
conflicts=('kdebindings-common')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('qtruby')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
source=("$_oldkdemirror/${_pkgname}-$_oldkdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_oldkdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
# RUBY_VERSION_PATCH doesn't exist with ruby 2.1, and this means that cmake tries to parse + ) instead of + somenumber)
sed -i 's/\${RUBY_VERSION_PATCH}/0/g' "${srcdir}/${_pkgname}-${pkgver}"/CMakeLists.txt
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment