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

Antonio Rojas arojas at archlinux.org
Sun Mar 8 10:19:44 UTC 2020


    Date: Sunday, March 8, 2020 @ 10:19:44
  Author: arojas
Revision: 377136

Revert cmake changes

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

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 10:11:04 UTC (rev 377135)
+++ PKGBUILD	2020-03-08 10:19:44 UTC (rev 377136)
@@ -21,15 +21,17 @@
 
 prepare() {
   cd $pkgname-$pkgver
+  mkdir -p build
 }
 
 build() {
-  cmake -H$pkgname-$pkgver -Bbuild \
+  cd build
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \
     -DBUILD_TESTING=OFF
-  cmake --build build
+  make
 }
 
 package() {
-  DESTDIR="$pkgdir" cmake --build build --target install
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list