# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: jeneshicc <jeneshicc@gmail.com>

pkgname=skk-jisyo
pkgver=20120902
pkgrel=2
pkgdesc="Dictionaries for the SKK Japanese input method"
arch=('any')
url="http://openlab.ring.gr.jp/skk/"
optdepends=('skktools: Dictionary maintenabce tools')
license=('GPL')
install=${pkgname}.install
source=(http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.L.gz
        http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.jinmei.gz
        http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.geo.gz
        http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.propernoun.gz
        http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.station.gz)
md5sums=('2e75db52835447895bdcad9853d19433'
         'bb8930b2b1b05d25fdde7ce4f3283c3c'
         'a0469d915fb73bb08804add46c941994'
         'a46ab045e69ccc25c9c647362f8d3fa1'
         '4758567e8a60e57df95dfd7e4faf1e55')

package() {
  cd "${srcdir}"

  for t in L jinmei geo propernoun station; do
    install -D -m 644 "${srcdir}/SKK-JISYO.$t" "${pkgdir}/usr/share/skk/SKK-JISYO.$t"
  done
}
