# # KDE SC Packages for Chakra, part of chakra-project.org # # maintainer :abveritas@chakra-project.org # maintainer : Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf # # package info # pkgname=kdebindings-korundum _pkgname=korundum pkgver=${_kdever} pkgrel=1 pkgdesc="KDE bindings for ruby" url="http://kde.org/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=("kdebindings-qtruby>=${_kdever}" "kdebindings-smokekde>=${_kdever}") makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" "boost" "kdepimlibs>=${_kdever}" "kdegraphics-okular>=${_kdever}") source=("$_mirror/${_pkgname}-$_kdever.tar.xz" 'krubypluginfactory.diff') md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1` '3f12d63d1e36a07b0bd3dfd996926dd7') conflicts=('kdebindings-ruby') groups=("kde" "kdebindings" "kde-uninstall") provides=('kdebindings-ruby' 'korundum') replaces=('kdebindings-ruby') conflicts=('kdebindings-ruby') options=('docs' '!splithdr' 'splitdbg' 'log') build() { cd ${srcdir}/${_pkgname}-${pkgver} patch -p1 -i "${srcdir}/krubypluginfactory.diff" cmake . -DCMAKE_BUILD_TYPE=${_build_type} \ -DCMAKE_INSTALL_PREFIX=${_installprefix} make } package() { cd ${srcdir}/${_pkgname}-${pkgver} make DESTDIR=${pkgdir} install }