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