[arch-commits] Commit in fcitx5-chinese-addons/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Dec 6 21:41:06 UTC 2020
Date: Sunday, December 6, 2020 @ 21:41:06
Author: felixonmars
Revision: 771202
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 771201, fcitx5-chinese-addons/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: fcitx5-chinese-addons/repos/community-staging-x86_64/PKGBUILD (from rev 771201, fcitx5-chinese-addons/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-06 21:41:06 UTC (rev 771202)
@@ -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=2
+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