1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
5 _commit=f1876f08f1d4a9696395be0070c0e8e4353c44cb
7 pkgdesc="Wubi input for rime"
9 url="https://github.com/rime/rime-wubi"
11 # dependency for reverse lookup
12 depends=('rime-pinyin-simp')
13 makedepends=('librime' 'rime-prelude' 'rime-essay')
14 source=("https://github.com/rime/rime-wubi/archive/$_commit/rime-wubi-$_commit.tar.gz")
15 sha512sums=('bc7dac4c11f062640c61556078d0847b5033a105a5f8b15a26a487e16cb323e9b4cf38d34c33f453b85537ee8314adf1a20e136422c12598b7af63d2c9533d7e')
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/