Commit 66fb2ed4 authored by abveritas's avatar abveritas

Adding rkward 0.5.3, transparent frontend to R for KDE4

parent 2a055b42
#
# Chakra 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>
# 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.3
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>=4.0.0' 'qt>=4.3' 'r>=2.8.0' 'docbook-xml')
makedepends=('cmake' 'automoc4')
conflicts=('kdemod-rkward<0.5.0')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
${pkgname}-kde-4-5.patch)
md5sums=('1a1fb29b5f59b6150a3fd08bb51672b7'
'7b92988b62939107cdfd5281f8e28ebc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Patch to build with KDE 4.5.x thanx to Rex Dieter
patch -Np1 -i "${srcdir}/${pkgname}-kde-4-5.patch"
cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"
make
}
package(){
cd "${srcdir}/${pkgname}-${pkgver}"
make install
# Install the rkward R package to installation directory
mkdir -p "${pkgdir}/usr/lib/R/library"
R CMD INSTALL -l "${pkgdir}/usr/lib/R/library" "${srcdir}/${pkgname}-${pkgver}/${pkgname}/rbackend/rpackages/${pkgname}"
rm -vf "${pkgdir}/usr/lib/R/library/R.css"
rm -vf "${pkgdir}/usr/share/apps/katepart/syntax/r.xml"
}
diff -up rkward-0.5.3/doc/rkward/index.docbook.docbook_dtd rkward-0.5.3/doc/rkward/index.docbook
--- rkward-0.5.3/doc/rkward/index.docbook.docbook_dtd 2008-01-21 12:58:24.000000000 -0600
+++ rkward-0.5.3/doc/rkward/index.docbook 2010-06-28 07:44:46.000521291 -0500
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY rkward '<application>RKWard</application>'>
<!ENTITY kapp "&rkward;"><!-- replace rkward here -->
<!ENTITY % addindex "IGNORE">
diff -up rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook.docbook_dtd rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook
--- rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook.docbook_dtd 2010-03-04 06:08:32.000000000 -0600
+++ rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook 2010-06-28 07:45:09.256770072 -0500
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY rkward '<application>RKWard</application>'>
<!ENTITY kapp "&rkward;"><!-- replace rkward here -->
<!ENTITY % addindex "IGNORE">
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