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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:35:04 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:35:04
  Author: felixonmars
Revision: 660088

switch to ninja

Modified:
  deepin-topbar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 18:34:39 UTC (rev 660087)
+++ PKGBUILD	2020-07-07 18:35:04 UTC (rev 660088)
@@ -10,17 +10,17 @@
 license=('GPL')
 depends=('deepin-network-utils' 'deepin-qt5integration' 'deepin-qt-dbus-factory' 'libdbusmenu-qt5'
          'procps-ng')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'ninja' 'qt5-tools')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/kirigayakazushin/deepin-topbar/archive/$pkgver.tar.gz")
 sha512sums=('30d0b0df25c5ceef626b079c1113d3915532e74c2392f964d5438b374aa5e3d2adedbc9cc3106f8aa23c822539310260f0d5a7d28392181c6b30bfb669dbbb9f')
 
 build() {
   cd $pkgname-$pkgver
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
-  make
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
+  ninja
 }
 
 package() {
   cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list