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

Felix Yan felixonmars at archlinux.org
Thu Jul 9 17:59:28 UTC 2020


    Date: Thursday, July 9, 2020 @ 17:59:28
  Author: felixonmars
Revision: 662661

switch to ninja

Modified:
  fcitx5-anthy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 17:59:28 UTC (rev 662660)
+++ PKGBUILD	2020-07-09 17:59:28 UTC (rev 662661)
@@ -11,7 +11,7 @@
 url="https://github.com/fcitx/fcitx5-anthy"
 license=('GPL')
 depends=('fcitx5' 'anthy')
-makedepends=('extra-cmake-modules')
+makedepends=('extra-cmake-modules' 'ninja')
 source=("https://github.com/fcitx/fcitx5-anthy/archive/$_commit/fcitx5-anthy-$_commit.tar.gz")
 sha512sums=('03795f6b0c9006892396b201cf5b966bd3aa64e3e796d54adaf9cbfa4a317e2a5390e344b5cf579e80db757e28969bbfdd14bd81e8959af7acaba061917c3ab6')
 
@@ -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