blob: d97959e1df019436a2f42e4b9d37cee5606e5317 [file] [log] [blame] [edit]
# Contributor: Feng Shu <tumashu@163.com>
_realname=rime-terra-pinyin
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.0.0.20200207
_commit=492aaf914f9de37cc9d26b846dc693116de70ae8
pkgrel=1
pkgdesc="Terra pinyin for rime"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
url="https://github.com/rime/rime-terra-pinyin"
license=('LGPL')
# dependency for reverse lookup
depends=("${MINGW_PACKAGE_PREFIX}-rime-stroke")
source=("https://github.com/rime/rime-terra-pinyin/archive/$_commit/rime-terra-pinyin-$_commit.tar.gz")
sha512sums=('d15b5a6de6b20c4f50392703c21dded69a985bf25f3d93ee213facfd59e1d5b30d32f0296c6a97ac1edbb5056877591fc1d7637f27f7d273bb7f69636c2b1353')
package() {
cd rime-terra-pinyin-$_commit
install -Dm644 *.yaml -t ${pkgdir}${MINGW_PREFIX}/share/rime-data/
}