[arch-commits] Commit in kcm-fcitx5/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jul 27 09:30:06 UTC 2020
Date: Monday, July 27, 2020 @ 09:30:06
Author: felixonmars
Revision: 665425
upgpkg: kcm-fcitx5 0.0.0.20200722-2: add provides fcitx5-config-qt
Modified:
kcm-fcitx5/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-27 08:58:51 UTC (rev 665424)
+++ PKGBUILD 2020-07-27 09:30:06 UTC (rev 665425)
@@ -5,15 +5,16 @@
pkgname=kcm-fcitx5
pkgver=0.0.0.20200722
_commit=7d075ef4b58e988cd606b1a2004cdcbc1a0e56d2
-pkgrel=1
+pkgrel=2
pkgdesc="KDE Config Module for Fcitx5"
arch=('x86_64')
url="https://github.com/fcitx/kcm-fcitx5"
license=('GPL')
+provides=('fcitx5-config-qt')
depends=('fcitx5-qt' 'kwidgetsaddons' 'kitemviews')
optdepends=('kdeclarative: for KCM support'
'kirigami2: for KCM support')
-makedepends=('extra-cmake-modules' 'kdeclarative' 'kirigami2' 'python')
+makedepends=('extra-cmake-modules' 'kdeclarative' 'kirigami2' 'ninja' 'python')
source=("https://github.com/fcitx/kcm-fcitx5/archive/$_commit/kcm-fcitx5-$_commit.tar.gz")
sha512sums=('8d5d46c086792a19cfd5dcc598698318e616f45b370b459fa3c034d99b80c98807cc7a59833a4546af7705ace8e268d1bcce79d29c1197ba28de683f40639f1f')
@@ -20,11 +21,11 @@
build(){
cd $pkgname-$_commit
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON .
- make
+ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON .
+ ninja
}
package() {
cd $pkgname-$_commit
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list