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