25 lines
984 B
Bash
25 lines
984 B
Bash
# Contributor: Feng Shu <tumashu@163.com>
|
|
|
|
_realname=rime-double-pinyin
|
|
pkgbase=mingw-w64-${_realname}
|
|
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
|
pkgver=0.0.0.20250923
|
|
_commit=01a13287cbd27819be1c34fa1ddc1b3643d5001b
|
|
pkgrel=1
|
|
pkgdesc="Double-pinyin input for rime (mingw-w64)"
|
|
arch=('any')
|
|
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
|
license=('LGPL')
|
|
# dependency for reverse lookup: rime-stroke
|
|
# dependency on dictionary: rime-luna-pinyin
|
|
depends=("${MINGW_PACKAGE_PREFIX}-rime-luna-pinyin"
|
|
"${MINGW_PACKAGE_PREFIX}-rime-stroke")
|
|
url="https://github.com/rime/rime-double-pinyin"
|
|
source=("https://github.com/rime/rime-double-pinyin/archive/$_commit/rime-double-pinyin-$_commit.tar.gz")
|
|
sha512sums=('4858e60377b196953393c399851fba4add6a4a7efd66eeff290e59dcf68463198de45774ff2ad91d9a605849f0f748f7c9863d9c85bd8240da50a30922c7c1ca')
|
|
|
|
package() {
|
|
cd rime-double-pinyin-$_commit
|
|
install -Dm644 *.yaml -t "${pkgdir}"${MINGW_PREFIX}/share/rime-data/
|
|
}
|