[arch-commits] Commit in xdg-desktop-portal-kde/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Mar 8 08:13:34 UTC 2020


    Date: Sunday, March 8, 2020 @ 08:13:34
  Author: heftig
Revision: 377127

5.18.2-2

Modified:
  xdg-desktop-portal-kde/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 08:12:55 UTC (rev 377126)
+++ PKGBUILD	2020-03-08 08:13:34 UTC (rev 377127)
@@ -2,12 +2,12 @@
 
 pkgname=xdg-desktop-portal-kde
 pkgver=5.18.2
-pkgrel=1
+pkgrel=2
 pkgdesc='A backend implementation for xdg-desktop-portal using Qt/KF5'
 arch=(x86_64)
 url='https://www.kde.org/workspaces/plasmadesktop/'
 license=(LGPL)
-depends=(pipewire kirigami2 plasma-framework)
+depends=(libpipewire02 kirigami2 plasma-framework)
 makedepends=(extra-cmake-modules)
 provides=(xdg-desktop-portal-impl)
 groups=(plasma)
@@ -20,18 +20,16 @@
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
 
 prepare() {
-  mkdir -p build
+  cd $pkgname-$pkgver
 }
 
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -H$pkgname-$pkgver -Bbuild \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --build build --target install
 }



More information about the arch-commits mailing list