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