git » kauth.git » commit be8230e

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 b80417c640b5978c4c36950ed02e6342cc582696

KDE Frameworks 5.71

PKGBUILD +5 -11

diff --git a/PKGBUILD b/PKGBUILD
index f2a01c0..fa1d2a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=kauth
-pkgver=5.70.0
+pkgver=5.71.0
 pkgrel=1
 pkgdesc='Abstraction to system policy and authentication features'
 arch=(x86_64)
@@ -14,24 +14,18 @@ makedepends=(extra-cmake-modules qt5-tools qt5-doc clang python-pyqt5 doxygen si
 optdepends=('python-pyqt5: for the Python bindings')
 groups=(kf5)
 source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('b57379f1d02ec44111d46726a1fb1f9db3b369fcd35192a302efc2a1f2f9ad5a'
+sha256sums=('a0de83bd662e20253011216ab8cba597f8db7429f8706237e7307580125025b5'
             'SKIP')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \
     -DBUILD_TESTING=OFF \
     -DBUILD_QCH=ON
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }