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

Felix Yan felixonmars at archlinux.org
Thu Jul 9 17:58:18 UTC 2020


    Date: Thursday, July 9, 2020 @ 17:58:18
  Author: felixonmars
Revision: 662554

switch to ninja

Modified:
  fcitx5-chewing/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 17:58:18 UTC (rev 662553)
+++ PKGBUILD	2020-07-09 17:58:18 UTC (rev 662554)
@@ -11,7 +11,7 @@
 url="https://github.com/fcitx/fcitx5-chewing"
 license=('GPL')
 depends=('fcitx5' 'libchewing')
-makedepends=('extra-cmake-modules')
+makedepends=('extra-cmake-modules' 'ninja')
 source=("https://github.com/fcitx/fcitx5-chewing/archive/$_commit/fcitx5-chewing-$_commit.tar.gz")
 sha512sums=('1c7cf8836b6119f2dd66c999d2e95738fdeae64079c856e55d77dc28abbbfacc09c532096ae49b97015da4e5c893ae66646e058052a7a9e3a41870e986e92240')
 
@@ -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