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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:24:00 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:24:00
  Author: felixonmars
Revision: 660079

switch to ninja

Modified:
  deepin-dock/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 18:23:51 UTC (rev 660078)
+++ PKGBUILD	2020-07-07 18:24:00 UTC (rev 660079)
@@ -12,7 +12,7 @@
 license=('GPL3')
 depends=('qt5-svg' 'deepin-menu' 'deepin-daemon' 'deepin-launcher' 'deepin-qt5integration'
          'deepin-qt-dbus-factory' 'deepin-network-utils' 'libdbusmenu-qt5')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'ninja' 'qt5-tools')
 conflicts=('dde-dock')
 replaces=('dde-dock')
 groups=('deepin')
@@ -27,11 +27,11 @@
 
 build() {
   cd dde-dock-$_commit
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
-  make
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
+  ninja
 }
 
 package() {
   cd dde-dock-$_commit
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list