blob: 89cb4a4308c9a925e9d5d7d487745ac57b748b0d [file] [log] [blame] [edit]
# Contributor: Feng Shu <tumashu@163.com>
_realname=rime-emoji
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.0.0.20191102
_commit=6ee7ce65b21cd0fd8df0306a7c77a067f18fb55f
pkgrel=1
pkgdesc="Emoji support for rime (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
license=('LGPL')
url="https://github.com/rime/rime-emoji"
source=("https://github.com/rime/rime-emoji/archive/$_commit/rime-emoji-$_commit.tar.gz")
sha512sums=('78b6a3199e1e1aadcb4fcfdeb95f475336503a7d70f8e4b8e2dbb825a75f303aca0b2c9dc0326c924d643974541c2466de33aad210b1926c0bd20c1c8996c753')
package() {
cd rime-emoji-$_commit
install -Dm644 emoji_suggestion.yaml -t ${pkgdir}${MINGW_PREFIX}/share/rime-data/
install -Dm644 opencc/* -t ${pkgdir}${MINGW_PREFIX}/share/rime-data/opencc/
}