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

Felix Yan felixonmars at archlinux.org
Thu Jul 9 17:51:16 UTC 2020


    Date: Thursday, July 9, 2020 @ 17:51:16
  Author: felixonmars
Revision: 662065

switch to ninja

Modified:
  fcitx5-skk/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 17:51:15 UTC (rev 662064)
+++ PKGBUILD	2020-07-09 17:51:16 UTC (rev 662065)
@@ -11,7 +11,7 @@
 url="https://github.com/fcitx/fcitx5-skk"
 license=('GPL')
 depends=('fcitx5-qt' 'libskk' 'skk-jisyo')
-makedepends=('extra-cmake-modules')
+makedepends=('extra-cmake-modules' 'ninja')
 source=("https://github.com/fcitx/fcitx5-skk/archive/$_commit/fcitx5-skk-$_commit.tar.gz")
 sha512sums=('9c27fd2f03888540b1fc9a6d404d74020f083b1f55222d903c191d1e0b7379bfb51ae6a57a3247659d9b4d6c0825ac06c0b720669da1f9c6dcdc94668d982db9')
 
@@ -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