desktop/rkward/PKGBUILD

35 lines
1.1 KiB
Bash
Raw Normal View History

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
2015-03-07 20:52:05 +08:00
pkgver=0.6.3
2014-12-11 05:17:26 +08:00
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')
2015-03-07 20:52:05 +08:00
depends=('kde-baseapps-katepart' 'kde-runtime' 'r' 'docbook-xsl' 'docbook-xml')
2013-11-13 13:53:52 +08:00
categories=('programming')
2011-07-04 01:24:16 +08:00
makedepends=('cmake' 'automoc4' 'icu')
2015-03-07 20:52:05 +08:00
source=(http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.gz)
sha256sums=('911f7727a28b292428607c93e551f51b2d8fc2cb477de33a1276790210263c93')
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
}