| # Contributor: Feng Shu <tumashu@163.com> |
| |
| _realname=rime-bopomofo |
| pkgbase=mingw-w64-${_realname} |
| pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" |
| pkgver=0.0.0.20190120 |
| _commit=ed25098386f5efd3d70b08650f0d1b70c41c11a3 |
| pkgrel=1 |
| pkgdesc="Bopomofo input for rime" |
| arch=('any') |
| mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') |
| url="https://github.com/rime/rime-bopomofo" |
| license=('LGPL') |
| # Rime will regenerate yaml&prism bin, which makes terra-pinyin required on runtime (for translator) |
| # rime-cangjie is dependency for reverse lookup |
| depends=("${MINGW_PACKAGE_PREFIX}-rime-cangjie" |
| "${MINGW_PACKAGE_PREFIX}-rime-terra-pinyin") |
| source=("https://github.com/rime/rime-bopomofo/archive/$_commit/rime-bopomofo-$_commit.tar.gz") |
| sha512sums=('6e0d0bcf891c3bad1927c55d9125eac266f195397986799740c0fe0f1e5e9a21ce4eb26935ce1f359374b7f6754274e11095332e9bab3d0b429bf06f98aabe28') |
| |
| package() { |
| cd rime-bopomofo-$_commit |
| install -Dm644 *.yaml -t ${pkgdir}${MINGW_PREFIX}/share/rime-data/ |
| } |