git » kinfocenter.git » commit cf4f913

Plasma 5.19.0

author Antonio Rojas
2020-06-09 11:00:48 UTC
committer Antonio Rojas
2020-06-09 11:00:48 UTC
parent f346af88fad98655a3ac1cc822738571331844d2

Plasma 5.19.0

PKGBUILD +6 -12

diff --git a/PKGBUILD b/PKGBUILD
index 1ad6a7c..6162eb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,35 +3,29 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=kinfocenter
-pkgver=5.18.5
+pkgver=5.19.0
 pkgrel=1
 pkgdesc='A utility that provides information about a computer system'
 arch=(x86_64)
 url='https://www.kde.org/applications/system/kinfocenter/'
 license=(LGPL)
-depends=(kcmutils pciutils glu libraw1394 kwayland)
+depends=(systemsettings glu)
 makedepends=(extra-cmake-modules plasma-framework kdoctools)
 groups=(plasma)
 source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('a9679bce4cd2d64e6f471c89de6da410237263b02512768f3acd0a4932b12ec5'
+sha256sums=('1cefb6c85253398d9fc815343dd8efd93e324ed4745b9f10dfe0a06090359263'
             'SKIP')
 validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell <jr@jriddell.org>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }