| # Contributor: Feng Shu <tumashu@163.com> |
| |
| _realname=rime-cangjie |
| pkgbase=mingw-w64-${_realname} |
| pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" |
| pkgver=0.0.0.20190120 |
| _commit=5fd8ce6f64039e505ca02655a621f2e830b97c19 |
| pkgrel=1 |
| pkgdesc="Cangjie input for rime" |
| arch=('any') |
| mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') |
| url="https://github.com/rime/rime-cangjie" |
| license=('LGPL') |
| # dependency for reverse lookup |
| depends=("${MINGW_PACKAGE_PREFIX}-rime-luna-pinyin") |
| source=("https://github.com/rime/rime-cangjie/archive/$_commit/rime-cangjie-$_commit.tar.gz") |
| sha512sums=('fb6e396c18e2e17a1c42e95bf57ba621537220cf59327432131aedf9b0d55143bb4b5d669441cbb5591c955b2710db6205d04a98cf49d82a4c4fef7590671d59') |
| |
| package() { |
| cd rime-cangjie-$_commit |
| install -Dm644 *.yaml -t ${pkgdir}${MINGW_PREFIX}/share/rime-data/ |
| } |