[arch-commits] Commit in deepin-session-shell/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jul 8 11:43:58 UTC 2020


    Date: Wednesday, July 8, 2020 @ 11:43:58
  Author: felixonmars
Revision: 661715

switch to ninja

Modified:
  deepin-session-shell/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-08 11:43:34 UTC (rev 661714)
+++ PKGBUILD	2020-07-08 11:43:58 UTC (rev 661715)
@@ -11,7 +11,7 @@
 license=('GPL3')
 depends=('deepin-daemon' 'deepin-qt5integration' 'deepin-wallpapers' 'gsettings-qt' 'liblightdm-qt5'
          'startdde')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'ninja' 'qt5-tools')
 conflicts=('deepin-session-ui<5')
 provides=('lightdm-deepin-greeter')
 groups=('deepin')
@@ -33,13 +33,13 @@
 
 build() {
   cd dde-session-shell-$pkgver
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr
-  make
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+  ninja
 }
 
 package() {
   cd dde-session-shell-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 
   chmod +x "$pkgdir"/usr/bin/deepin-greeter
 }


More information about the arch-commits mailing list