[arch-commits] Commit in partitionmanager/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Oct 16 19:35:50 UTC 2020


    Date: Friday, October 16, 2020 @ 19:35:49
  Author: arojas
Revision: 724891

Update to 4.2.0

Modified:
  partitionmanager/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-16 19:34:26 UTC (rev 724890)
+++ PKGBUILD	2020-10-16 19:35:49 UTC (rev 724891)
@@ -3,7 +3,7 @@
 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
 
 pkgname=partitionmanager
-pkgver=4.1.0
+pkgver=4.2.0
 pkgrel=1
 pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems"
 arch=(x86_64)
@@ -12,22 +12,16 @@
 depends=(kpmcore hicolor-icon-theme kio)
 makedepends=(extra-cmake-modules kdoctools)
 source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('d61e20237c854cd3622b19cec5939c51bf4f350741106fdb44fc5a82155735b4'
+sha256sums=('e9096dd5ce3b11e93a4e45960734f2059609d637e1b70b02f57e6ae61e8884f8'
             'SKIP')
 validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas <andrius at stikonas.eu>
 
-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
 }



More information about the arch-commits mailing list