desktop/kdebindings-korundum/PKGBUILD
philm 96fc44d963 merge kde 4.8 to testing
remove some outdated pkgs
2012-02-05 21:46:15 +01:00

45 lines
1.3 KiB
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# 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.bz2")
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
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}
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}