git » sonnet.git » commit 6dc266f

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 7902f4bc9832f3537235121e4753f5cb9206a65a

KDE Frameworks 5.71

PKGBUILD +5 -11

diff --git a/PKGBUILD b/PKGBUILD
index 0186a89..f7c1ca0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=sonnet
-pkgver=5.70.0
+pkgver=5.71.0
 pkgrel=1
 pkgdesc='Spelling framework for Qt5'
 arch=(x86_64)
@@ -15,23 +15,17 @@ optdepends=('hunspell: spell checking via hunspell' 'aspell: spell checking via
             'hspell: spell checking for Hebrew' 'libvoikko: Finnish support via Voikko')
 groups=(kf5)
 source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('1c0cbb3afe7d0e62c6524652626605d04bb9a49074e00d5ef61fd9c05d81082d'
+sha256sums=('cd663b3e1b23aef58d85f72dfdc92aaae33f358b22ad1fc36fde6c66eb7f0e72'
             '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
 }