[arch-commits] Commit in fcitx5-chinese-addons/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Dec 12 16:01:22 UTC 2020


    Date: Saturday, December 12, 2020 @ 16:01:20
  Author: felixonmars
Revision: 773378

archrelease: copy trunk to community-staging-x86_64

Added:
  fcitx5-chinese-addons/repos/community-staging-x86_64/
  fcitx5-chinese-addons/repos/community-staging-x86_64/PKGBUILD
    (from rev 773376, fcitx5-chinese-addons/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: fcitx5-chinese-addons/repos/community-staging-x86_64/PKGBUILD (from rev 773376, fcitx5-chinese-addons/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-12-12 16:01:20 UTC (rev 773378)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgname=fcitx5-chinese-addons
+pkgver=5.0.2
+pkgrel=3
+pkgdesc="Addons related to Chinese, including IME previous bundled inside fcitx4"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx5-chinese-addons"
+license=('GPL')
+conflicts=('fcitx')
+depends=('curl' 'fcitx5-qt' 'libime' 'opencc' 'qt5-webkit')
+makedepends=('boost' 'extra-cmake-modules' 'fcitx5-lua' 'ninja')
+optdepends=('fcitx5-lua: Lua and imeapi support from pinyin')
+source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-${pkgver}_dict.tar.xz"{,.sig})
+sha512sums=('c161ab5dce0442c4ca67295a60f399255abc63bcec11e99f28c555a68182c44f11c195e44134bfc8c0371b9ea658bf20cf230d919478a813d7c964911678088b'
+            'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt at gmail.com>
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  ninja
+}
+
+check() {
+  cd $pkgname-$pkgver
+  ninja test
+}
+
+package() {
+  cd $pkgname-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list