[arch-commits] Commit in rkward/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue May 26 09:48:26 UTC 2020
Date: Tuesday, May 26, 2020 @ 09:48:25
Author: arojas
Revision: 635018
Update to 0.7.1b
Modified:
rkward/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-26 09:43:11 UTC (rev 635017)
+++ PKGBUILD 2020-05-26 09:48:25 UTC (rev 635018)
@@ -2,7 +2,8 @@
# Contributor : Vassilis Palassopoulos <palasso [at] gmail [dot] com>
pkgname=rkward
-pkgver=0.7.1
+pkgver=0.7.1.b
+_pkgver=0.7.1b
pkgrel=1
pkgdesc="An easy to use and easily extensible IDE/GUI for R"
url="https://rkward.kde.org/"
@@ -10,22 +11,16 @@
license=(GPL)
depends=(kdewebkit ktexteditor qt5-script r)
makedepends=(extra-cmake-modules kdoctools)
-source=("https://download.kde.org/stable/rkward/$pkgver/src/$pkgname-$pkgver.tar.gz")
-sha256sums=('02a96450ef4275d38b9ff6fd13d98bcf353c5388399a813a111b640d7c61c834')
+source=("https://download.kde.org/stable/rkward/$_pkgver/src/$pkgname-$_pkgver.tar.gz")
+sha256sums=('0cca23b106f569549a005110eeecb2557805049e6659c3a2ebd5eb18e392ac76')
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../$pkgname-$pkgver
- make
+ cmake -B build -S $pkgname-$_pkgver
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
rm "$pkgdir"/usr/share/org.kde.syntax-highlighting/syntax/r.xml # provided by syntax-highlighting
}
More information about the arch-commits
mailing list