git » kapidox.git » commit fba4ae2

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 cecd8d1cbbdc648937224e51322ef2fe10bca43d

KDE Frameworks 5.71

PKGBUILD +5 -11

diff --git a/PKGBUILD b/PKGBUILD
index 6d9b082..4d500cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=kapidox
-pkgver=5.70.0
+pkgver=5.71.0
 pkgrel=1
 pkgdesc='Frameworks API Documentation Tools'
 arch=(any)
@@ -13,22 +13,16 @@ depends=(python-jinja python-yaml)
 makedepends=(cmake qt5-base)
 groups=(kf5)
 source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('326c9ca8fd5e104668323852ab4bcbc34ee40d964fcf506bfed901e36e1134c7'
+sha256sums=('da75660fc2808f38441ec0f59d3c58ce29fcfdcea29e251308a11a92546f1ed5'
             '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_PREFIX=/usr
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }