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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:56:45 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:56:44
  Author: felixonmars
Revision: 660115

switch to ninja

Modified:
  deepin-system-monitor/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 18:54:59 UTC (rev 660114)
+++ PKGBUILD	2020-07-07 18:56:44 UTC (rev 660115)
@@ -10,7 +10,7 @@
 url="https://github.com/linuxdeepin/deepin-system-monitor"
 license=('GPL3')
 depends=('deepin-qt5integration' 'dtkwm' 'procps-ng' 'libcap')
-makedepends=('cmake' 'deepin-gettext-tools' 'qt5-tools')
+makedepends=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
 groups=('deepin')
 install=deepin-system-monitor.install
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-system-monitor/archive/$pkgver.tar.gz"
@@ -31,11 +31,11 @@
 
 build() {
   cd deepin-system-monitor-$pkgver
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr
-  make
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+  ninja
 }
 
 package() {
   cd deepin-system-monitor-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list