[arch-commits] Commit in xcb-imdkit/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jul 9 17:55:47 UTC 2020


    Date: Thursday, July 9, 2020 @ 17:55:46
  Author: felixonmars
Revision: 662397

switch to ninja

Modified:
  xcb-imdkit/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 17:55:46 UTC (rev 662396)
+++ PKGBUILD	2020-07-09 17:55:46 UTC (rev 662397)
@@ -11,7 +11,7 @@
 url="https://github.com/fcitx/xcb-imdkit"
 license=('GPL')
 depends=('xcb-util' 'xcb-util-keysyms')
-makedepends=('extra-cmake-modules' 'uthash' 'xorgproto')
+makedepends=('extra-cmake-modules' 'ninja' 'uthash' 'xorgproto')
 source=("https://github.com/fcitx/xcb-imdkit/archive/$_commit/xcb-imdkit-$_commit.tar.gz")
 sha512sums=('03c84e85f7f0a038b810a7fef5f8ba3924fb6b5ee70602963a4160cb55150c166eda712f8c6825339770b29fc07310813dd99428853c224328d4d00da1b4f4d7')
 
@@ -18,16 +18,16 @@
 build() {
   cd $pkgname-$_commit
 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
-  make
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  ninja
 }
 
 check() {
   cd $pkgname-$_commit
-  make test
+  ninja test
 }
 
 package() {
   cd $pkgname-$_commit
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list