blob: ac1f80949c4058e6fb9d25c3ee12aec09aa058e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: fkxxyz <fkxxyz@163.com>
pkgname=rime-cloverpinyin
pkgver=1.1.4
pkgrel=2
pkgdesc="Clover Simplified pinyin input for rime"
arch=('x86_64')
url="https://www.fkxxyz.com/d/cloverpinyin/"
license=('LGPL')
depends=('rime-prelude' 'rime-emoji' 'rime-symbols')
makedepends=('librime')
source=(https://github.com/fkxxyz/rime-cloverpinyin/releases/download/${pkgver}/clover.schema-${pkgver}.zip)
sha256sums=('327d6a6f9a67772440199ce4961ddae0aba40078285122d327584ff116fd478b')
build(){
cd $srcdir
rime_deployer --compile clover.schema.yaml . /usr/share/rime-data
}
package() {
cd $srcdir
rm build/*.txt
rm -rf opencc
install -Dm644 *.yaml -t "$pkgdir"/usr/share/rime-data/
install -Dm644 build/* -t "$pkgdir"/usr/share/rime-data/build/
}
|