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

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


    Date: Wednesday, July 8, 2020 @ 11:43:34
  Author: felixonmars
Revision: 661714

switch to ninja

Modified:
  deepin-kwin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-08 11:38:45 UTC (rev 661713)
+++ PKGBUILD	2020-07-08 11:43:34 UTC (rev 661714)
@@ -11,7 +11,7 @@
 license=('GPL3')
 groups=('deepin')
 depends=('deepin-qt5integration' 'deepin-wallpapers' 'kwin')
-makedepends=('cmake' 'expac' 'qt5-tools')
+makedepends=('cmake' 'expac' 'ninja' 'qt5-tools')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-kwin/archive/$pkgver.tar.gz"
         $pkgname-tabbox-chameleon-rename.patch::https://github.com/linuxdeepin/dde-kwin/pull/106.patch
         $pkgname-build-fix.patch::https://github.com/linuxdeepin/dde-kwin/pull/109.patch
@@ -37,13 +37,13 @@
 
 build() {
   cd dde-kwin-$pkgver
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DKWIN_VERSION=$(expac %v kwin | cut -d - -f 1)
-  make
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DKWIN_VERSION=$(expac %v kwin | cut -d - -f 1)
+  ninja
 }
 
 package() {
   cd dde-kwin-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 
   chmod +x "$pkgdir"/usr/bin/kwin_no_scale
 }



More information about the arch-commits mailing list