# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # from AUR package http://aur.archlinux.org/packages.php?ID=4277 # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=rkward pkgver=0.5.6 pkgrel=1 pkgdesc="Easy to use transparent frontend to R for KDE4" arch=('i686' 'x86_64') url="http://rkward.sourceforge.net/" license=('GPL') depends=('kdelibs' 'qt' 'r' 'docbook-xsl') categories=('programming') makedepends=('cmake' 'automoc4' 'icu') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('58ce297310c73ee9c617360a975f0752') build() { cd "${srcdir}/${pkgname}-${pkgver}" # Dir for rkward R package mkdir -p "${pkgdir}/usr/lib/R/library" cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \ -DR_LIBDIR="${pkgdir}/usr/lib/R/library" make } package(){ cd "${srcdir}/${pkgname}-${pkgver}" make install # Some cleanup rm -vf "${pkgdir}/usr/lib/R/library/R.css" rm -vf "${pkgdir}/usr/share/apps/katepart/syntax/r.xml" }