blob: f805b064e1a22aafb7a4c0c84692bb61263393b0 (
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
|
# Contributor: Myt1 <MYT1 @ QQ.com>
pkgname=fcitx5-pinyin-sougou-dict-git
pkgver=20241031.r1.geeb5373
pkgrel=1
pkgdesc="Fcitx5-pinyin搜狗官网词库全部词量"
arch=('any')
url="https://pinyin.sogou.com/dict/"
license=('custom')
makedepends=('libime' 'git')
source=(git+https://github.com/maoyaotang12/sougouscel.git)
sha512sums=('SKIP')
pkgver() {
cd sougouscel
git describe --long --tags --abbrev=7 | sed 's/^v//;s/-/.r/;s/-/./'
}
build() {
cat sougouscel/*.txt >sougouciku.txt
libime_pinyindict sougouciku.txt sougouciku.dict
}
package() {
install -Dm644 sougouciku.dict -t $pkgdir/usr/share/fcitx5/pinyin/dictionaries/
}
|