Date: Thursday, October 15, 2020 @ 22:06:06 Author: felixonmars Revision: 724307
archrelease: copy trunk to community-x86_64 Added: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD (from rev 724306, fcitx5-chinese-addons/trunk/PKGBUILD) Deleted: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-15 22:05:55 UTC (rev 724306) +++ PKGBUILD 2020-10-15 22:06:06 UTC (rev 724307) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgname=fcitx5-chinese-addons -pkgver=0.0.0.20201013 -_commit=c1124e88a91ab8d9854c28fd7bd31c1a354f1ba1 -_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=('e4cfbe82c598c4338e7e69eaa5ae9409e78900991f5f0a991d309c6b92010cc4ffd3f9ae07a01aaad79164bd4a090128ee4ee5ddc0aee68b4605fab1817ebc22' - '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 -} Copied: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD (from rev 724306, fcitx5-chinese-addons/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-15 22:06:06 UTC (rev 724307) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=fcitx5-chinese-addons +pkgver=0.0.0.20201015 +_commit=6f856b73802f009f0cfa935115f5911e835b6231 +_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=('2fbcfa9dab58a89547bfaab9fc29013ced006bf2c0de3563eeab5d6b90b5add00663e5234146ab1e9b84cbfff4b0b103ae93da033e84454b0bc93b08f04923c6' + '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 +}