Date: Monday, May 11, 2020 @ 19:30:55 Author: felixonmars Revision: 626377
archrelease: copy trunk to community-x86_64 Added: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD (from rev 626375, 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-11 19:30:52 UTC (rev 626376) +++ PKGBUILD 2020-05-11 19:30:55 UTC (rev 626377) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgname=fcitx5-chinese-addons -pkgver=0.0.0.20200509 -_commit=82cb80e0b78b7853f1a4818c36b9fc276d0719cb -_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=('e609f52cc9f86ec19f6687d081d44f9786b8117d28126c5f48eb599eb7068b8057657164ab43b33187895ef16e3eb7053fa869c72a13126a0c38cc48ff8f9aaf' - '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 626375, fcitx5-chinese-addons/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-11 19:30:55 UTC (rev 626377) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=fcitx5-chinese-addons +pkgver=0.0.0.20200511 +_commit=e0d33b88f7f613670ddb505baba182c92caebc02 +_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=('b01265a679e8c3f195caab0f8ada47b83290b21a33d8fa51e83fbf47fd8d19f449e19a7d65708b059904e5dd15e8364b52e54c8d472e056c217e52f8d83334f9' + '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 +}