updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / skk-jisyo / PKGBUILD
blob6990183d52f3afd7e9c4d8593126ee5e9e7a3919
1 # Contributor: jeneshicc <jeneshicc@gmail.com>
2 pkgname=skk-jisyo
3 pkgver=20100227
4 pkgrel=2
5 pkgdesc="Dictionaries for the SKK Japanese input method"
6 arch=('any')
7 url="http://openlab.ring.gr.jp/skk/"
8 optdepends=('skktools: Dictionary maintenabce tools')
9 license=('GPL')
10 install=${pkgname}.install
11 source=()
12 build() {
13         cd ${srcdir}
15         # download and install dictionaries
16         for t in L jinmei geo propernoun station; do
17                 wget http://openlab.ring.gr.jp/skk/skk/dic/SKK-JISYO.${t}.gz
18                 wget http://openlab.ring.gr.jp/skk/skk/dic/SKK-JISYO.${t}.gz.md5
19                 md5sum -c SKK-JISYO.${t}.gz.md5 || return 1
20                 gzip -df SKK-JISYO.${t}.gz
21                 install -D -m 644 ${srcdir}/SKK-JISYO.$t ${pkgdir}/usr/share/skk/SKK-JISYO.$t
22         done
24         # merge dictionaries
25         #skkdic-expr2 SKK-JISYO.L + SKK-JISYO.geo + SKK-JISYO.jinmei \
26         #       + SKK-JISYO.propernoun + SKK-JISYO.station > SKK-JISYO.XL
27         #install -D -m 644 ${srcdir}/SKK-JISYO.XL ${pkgdir}/usr/share/skk/SKK-JISYO.XL