1 # Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com)
6 pkgdesc="Easy to use transparent frontend to R for KDE4"
8 url="http://rkward.sourceforge.net/"
10 depends=('kdebase-runtime' 'r>=2.8.0' 'docbook-xml' 'docbook-xsl')
11 makedepends=('cmake' 'automoc4')
12 conflicts=('kdemod-rkward<0.5.0')
13 install="${pkgname}.install"
14 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
15 sha256sums=('623e3dc89faf31502e1738c76f6e1138054ca8fb99701862cf872040691cbbf4')
18 cd "${srcdir}/${pkgname}-${pkgver}"
19 # Dir for rkward R package
20 #mkdir -p "${pkgdir}/usr/lib/R/library"
21 cmake -DCMAKE_INSTALL_PREFIX="/usr" \
22 -DR_LIBDIR="/usr/lib/R/library"
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 make DESTDIR="${pkgdir}" install
31 rm -vf "${pkgdir}/usr/lib/R/library/R.css"
32 rm -vf "${pkgdir}/usr/share/apps/katepart/syntax/r.xml"
33 rm -vf "${pkgdir}/usr/share/doc/kde/html/en/rkward/common"