1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
5 _commit=8dfad9e537f18821b71ba28773315d9c670ae245
7 pkgdesc="Cangjie input for rime"
9 url="https://github.com/rime/rime-cangjie"
11 # dependency for reverse lookup
12 depends=('rime-luna-pinyin')
13 makedepends=('librime' 'rime-prelude' 'rime-essay')
14 source=("https://github.com/rime/rime-cangjie/archive/$_commit/rime-cangjie-$_commit.tar.gz")
15 sha512sums=('48e505227b13c03610fc5d0e25125b5b5aff73fa051bab2a8a408d08391f8416f3010154355d0a80cdc841825d362352bb85efd8fd4d038680c4c835b060ca0a')
20 for _f in $(pacman -Qql rime-prelude rime-essay | grep -v "/$"); do ln -sf $_f; done
25 for _s in $(ls *.schema.yaml); do rime_deployer --compile $_s; done
30 find . -type l -delete
32 install -Dm644 *.yaml -t "$pkgdir"/usr/share/rime-data/
33 install -Dm644 build/* -t "$pkgdir"/usr/share/rime-data/build/