2013-11-13 13:53:52 +08:00
|
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
|
|
|
# Contributions from AUR: http://aur.archlinux.org/packages.php?ID=4277
|
2010-10-05 04:37:43 +08:00
|
|
|
|
|
|
|
pkgname=rkward
|
2014-12-11 05:17:26 +08:00
|
|
|
pkgver=0.6.2
|
|
|
|
pkgrel=1
|
2010-10-05 04:37:43 +08:00
|
|
|
pkgdesc="Easy to use transparent frontend to R for KDE4"
|
2013-11-13 13:53:52 +08:00
|
|
|
arch=('x86_64')
|
2010-10-05 04:37:43 +08:00
|
|
|
url="http://rkward.sourceforge.net/"
|
|
|
|
license=('GPL')
|
2013-11-13 13:53:52 +08:00
|
|
|
depends=('kdelibs' 'qt' 'r' 'docbook-xsl')
|
|
|
|
categories=('programming')
|
2011-07-04 01:24:16 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'icu')
|
2013-11-13 13:53:52 +08:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
2014-12-11 05:17:26 +08:00
|
|
|
md5sums=('e056c06a38d39d6fcdc982b90ad264f0')
|
2013-11-13 13:53:52 +08:00
|
|
|
screenshot="http://sourceforge.net/apps/mediawiki/rkward/nfs/project/r/rk/rkward/0/0a/RKWard_060_450.png"
|
|
|
|
|
2010-10-05 04:37:43 +08:00
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2013-11-13 13:53:52 +08:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
|
2010-10-05 04:37:43 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package(){
|
2013-11-13 13:53:52 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
|
2011-07-04 01:24:16 +08:00
|
|
|
# Some cleanup
|
2010-10-05 04:37:43 +08:00
|
|
|
rm -vf "${pkgdir}/usr/lib/R/library/R.css"
|
|
|
|
rm -vf "${pkgdir}/usr/share/apps/katepart/syntax/r.xml"
|
2013-11-13 13:53:52 +08:00
|
|
|
rm -vf "${pkgdir}/usr/share/doc/kde/html/en/rkward/common"
|
2010-10-05 04:37:43 +08:00
|
|
|
}
|