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

Felix Yan felixonmars at archlinux.org
Thu Jul 9 17:53:32 UTC 2020


    Date: Thursday, July 9, 2020 @ 17:53:31
  Author: felixonmars
Revision: 662226

switch to ninja

Modified:
  fcitx5-lua/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 17:53:31 UTC (rev 662225)
+++ PKGBUILD	2020-07-09 17:53:31 UTC (rev 662226)
@@ -9,7 +9,7 @@
 url="https://github.com/fcitx/fcitx5-lua"
 license=('GPL')
 depends=('fcitx5' 'lua53')
-makedepends=('extra-cmake-modules')
+makedepends=('extra-cmake-modules' 'ninja')
 source=("https://github.com/fcitx/fcitx5-lua/archive/$_commit/fcitx5-lua-$_commit.tar.gz")
 sha512sums=('77cfc8084b00a8e306bc52441d43c36fb2bd5456b70bb2133e3752f3fc6f8ae7fadd32dbf4e4c9ccb9b55b10db1708be01c2ecaa60332e22d58966193b9b774a')
 
@@ -16,11 +16,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