Date: Friday, March 20, 2020 @ 11:24:39 Author: felixonmars Revision: 601551
archrelease: copy trunk to community-x86_64 Added: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD (from rev 601549, fcitx5-chinese-addons/trunk/PKGBUILD) Deleted: fcitx5-chinese-addons/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-20 11:24:37 UTC (rev 601550) +++ PKGBUILD 2020-03-20 11:24:39 UTC (rev 601551) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgname=fcitx5-chinese-addons -pkgver=0.0.0.20200318 -_commit=5e0f91d1a49ecffb9d096d0d8e2424aca1e5a0a3 -_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') -depends=('curl' 'fcitx5-qt' 'libime' 'opencc' 'qt5-webengine') -makedepends=('boost' 'extra-cmake-modules') -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=('8100a32442a6e67115e1e389b68040ffcca954e07a01763e6c5c65994230101e89c1885bfea933b5616fe885c41ca5d8915e5d5b646dea93c6836ec7846d617b' - '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 601549, fcitx5-chinese-addons/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-20 11:24:39 UTC (rev 601551) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=fcitx5-chinese-addons +pkgver=0.0.0.20200320 +_commit=4b45e7f19b459ad02b7a75ec857d50a1e4c88ae6 +_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') +depends=('curl' 'fcitx5-qt' 'libime' 'opencc' 'qt5-webengine') +makedepends=('boost' 'extra-cmake-modules') +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=('14fbb0992a798a1bcd666f4047c12ff9709a7b7b131f35e15923d805a743bd99c55386bf7b980c16ca8bffcbca33b990e890b039a371453d9489f926f6a9986c' + '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 +}