[arch-commits] Commit in fcitx5-chinese-addons/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jul 17 20:44:31 UTC 2020
Date: Friday, July 17, 2020 @ 20:44:30
Author: felixonmars
Revision: 664361
archrelease: copy trunk to community-x86_64
Added:
fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD
(from rev 664360, fcitx5-chinese-addons/trunk/PKGBUILD)
Deleted:
fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 46 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-17 20:44:17 UTC (rev 664360)
+++ PKGBUILD 2020-07-17 20:44:30 UTC (rev 664361)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: csslayer <wengxt AT gmail com>
-
-pkgname=fcitx5-chinese-addons
-pkgver=0.0.0.20200626
-_commit=dfa59e5340e20b9754197ccf90b404c1a5ac72d1
-_pytablever=20121124
-pkgrel=1
-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=('5b05091808683923d06f3308e28d7512b2f41f407df33d68b74cc06bb941bf76473e3e918f04054923a7e8ff262eb68351c930c797d2143e3e8da2453730b6c6'
- '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
-}
Copied: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD (from rev 664360, fcitx5-chinese-addons/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-17 20:44:30 UTC (rev 664361)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgname=fcitx5-chinese-addons
+pkgver=0.0.0.20200716
+_commit=61fe245936364a77b95f228114f0fbb2cd0b82f2
+_pytablever=20121124
+pkgrel=1
+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://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=('4d2961da27e89be18e56c9cfb8709c512e137c6623b1d2c12e48efa03c736ca8adfd3348dd8017b0a027a543240c5e2514ab75469316b6866b3ef04fd446b16f'
+ '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 -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+ ninja
+}
+
+check() {
+ cd $pkgname-$_commit
+ ninja test
+}
+
+package() {
+ cd $pkgname-$_commit
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list