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

Felix Yan felixonmars at archlinux.org
Wed Jun 3 16:49:57 UTC 2020


    Date: Wednesday, June 3, 2020 @ 16:49:55
  Author: felixonmars
Revision: 638335

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: fcitx5-chinese-addons/repos/community-testing-x86_64/PKGBUILD (from rev 638334, fcitx5-chinese-addons/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-06-03 16:49:55 UTC (rev 638335)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgname=fcitx5-chinese-addons
+pkgver=0.0.0.20200603
+_commit=6d49483b3216384c0b316912c73699b104b6a6d3
+_pytablever=20121124
+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')
+optdepends=('fcitx5-lua: Lua and imeapi support from pinyin')
+source=("https://github.com/fcitx/fcitx5-chinese-addons/archive/$_commit/fcitx5-chinese-addons-$_commit.tar.gz"
+        https://download.fcitx-im.org/data/py_table-$_pytablever.tar.gz
+        https://download.fcitx-im.org/data/py_stroke-$_pytablever.tar.gz)
+noextract=(py_table-$_pytablever.tar.gz)
+sha512sums=('77f302089f3fe29071ea6e6a73f45648de398225782562326442b4583b5bbdb80f9f6407a2bc58782ef137464e0f4bfc67e9b6bfd5f03aac14f09a306aa8dcc1'
+            '0fa72ce6820a316e9729bc0d7a08af5ca3468134de9ff1bf0c559a398846a7bcf7313a3609d943e6bab637d930cf45ad9acfe25a8d3df078a774b071a7296486'
+            'd80ff9a3549e07c7a6935e686785f9a076c58f1a782a832ae28ee65e2a213d67f089f450ce09bed87ec2a141c32b9c1fcb83c221ddcab436858fa9009f161fb3')
+
+prepare() {
+  cd $pkgname-$_commit/modules/pinyinhelper
+  ln -s "$srcdir"/py_table-$_pytablever.tar.gz
+  ln -s "$srcdir"/py_stroke-$_pytablever.tar.gz
+}
+
+build(){
+  cd $pkgname-$_commit
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  make
+}
+
+package() {
+  cd $pkgname-$_commit
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list