Date: Wednesday, May 27, 2020 @ 21:11:10 Author: felixonmars Revision: 636069
archrelease: copy trunk to community-x86_64 Added: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD (from rev 636068, fcitx5-chinese-addons/trunk/PKGBUILD) Deleted: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-27 21:10:57 UTC (rev 636068) +++ PKGBUILD 2020-05-27 21:11:10 UTC (rev 636069) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgname=fcitx5-chinese-addons -pkgver=0.0.0.20200527.1 -_commit=1bfac7a9f011fe930b32bb4199e1d691e89c1377 -_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=('deec8790367c84aee7deb7c31c9797bd4e36d57b734477d6a97f1eb4302e49502e7c29742803d5f9dc438a674297deb9b77ade26e9bbd59e58538f78502f3a18' - '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 636068, fcitx5-chinese-addons/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-27 21:11:10 UTC (rev 636069) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=fcitx5-chinese-addons +pkgver=0.0.0.20200528 +_commit=f5eac0e3e4d5bed3bd10940c9de6a255a6a5d6fc +_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=('e246707b2c17614504b65f58114ab79a02ef457efe77e49c94a84ca436b30dccf7e55289c0a3f69db7c64d7342f31f7df0382df5d0d79e2fc9f9c48d17602b89' + '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 +}