[arch-commits] Commit in fcitx5-unikey/trunk (PKGBUILD)

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


    Date: Thursday, July 9, 2020 @ 17:50:47
  Author: felixonmars
Revision: 662035

switch to ninja

Modified:
  fcitx5-unikey/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 17:50:46 UTC (rev 662034)
+++ PKGBUILD	2020-07-09 17:50:47 UTC (rev 662035)
@@ -11,7 +11,7 @@
 url="https://github.com/fcitx/fcitx5-unikey"
 license=('GPL')
 depends=('fcitx5-qt')
-makedepends=('extra-cmake-modules')
+makedepends=('extra-cmake-modules' 'ninja')
 source=("https://github.com/fcitx/fcitx5-unikey/archive/$_commit/fcitx5-unikey-$_commit.tar.gz")
 sha512sums=('1e20d64fec566aa2ea2348cb3dc466f71faa3a71e76feaf1e97a043a4cfafa6750692c7bb170e33af2a46f74454bac56da872d7d3b9790e8d1a24d9d569b13ee')
 
@@ -18,11 +18,11 @@
 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
 }
 
 package() {
   cd $pkgname-$_commit
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list