[arch-commits] Commit in labplot/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jul 29 18:00:44 UTC 2020


    Date: Wednesday, July 29, 2020 @ 18:00:44
  Author: arojas
Revision: 665791

libcerf 2.0 rebuild

Modified:
  labplot/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-29 17:29:40 UTC (rev 665790)
+++ PKGBUILD	2020-07-29 18:00:44 UTC (rev 665791)
@@ -2,7 +2,7 @@
 
 pkgname=labplot
 pkgver=2.7.0
-pkgrel=4
+pkgrel=5
 arch=(x86_64)
 pkgdesc="KDE Application for interactive graphing and analysis of scientific data"
 url="https://labplot.kde.org/"
@@ -12,17 +12,11 @@
 source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
 sha256sums=('5c4d6ed7df6e98557a6b78f018933c92654b7e50e7f051ad89ec4755e0f4e935')
 
-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
 }



More information about the arch-commits mailing list