blob: e685c064704d9335ca15d35f8eeba6fbdd3777fb [file] [log] [blame] [edit]
# Contributor: Feng Shu <tumashu@163.com>
_realname=rime-luna-pinyin
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.0.0.20200410
_commit=f1268e192ca88b9526467ce04ac3e47c837891ad
pkgrel=1
pkgdesc='Luna pinyin for rime (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
license=('LGPL')
url="https://github.com/rime/rime-luna-pinyin"
source=("https://github.com/rime/rime-luna-pinyin/archive/$_commit/rime-luna-pinyin-$_commit.tar.gz")
sha512sums=('5a4f91f04f807ba84650a52acf8f634382c32eb978e8895f97b05594ea90cf6771386bb80cda1b694905c50d64cf8b4e8514abb762c4d18035b73c67148339f9')
package() {
cd rime-luna-pinyin-$_commit
install -Dm644 *.yaml -t ${pkgdir}${MINGW_PREFIX}/share/rime-data/
}