git » kparts.git » commit 1babdf7

KDE Frameworks 5.71

author Antonio Rojas
2020-06-13 18:21:37 UTC
committer Antonio Rojas
2020-06-13 18:21:37 UTC
parent 0f34e48c83bc5cc2117b96fb7e11e4466e5f6a87

KDE Frameworks 5.71

PKGBUILD +5 -11

diff --git a/PKGBUILD b/PKGBUILD
index 65c63e2..6866121 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=kparts
-pkgver=5.70.0
+pkgver=5.71.0
 pkgrel=1
 pkgdesc='Document centric plugin system'
 arch=(x86_64)
@@ -13,23 +13,17 @@ depends=(kio)
 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
 groups=(kf5)
 source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('533f41d1a37122aab73feec9014e362b2aa345903af0de7e973a7f5350eecabd'
+sha256sums=('d038f97dfdccdd85dbac09c0f64cf852191ec2e535fd7928740e03d4ffe63b90'
             'SKIP')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \
     -DBUILD_QCH=ON
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }