1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: noonov <noonov@gmail.com>
7 pkgdesc="Dictionary maintenance tools for the SKK Japanese input method"
9 url="http://openlab.ring.gr.jp/skk/"
11 depends=('gdbm' 'glib2')
12 optdepends=('ruby' 'python: for skk2cdb.py' 'perl')
13 source=(http://openlab.ring.gr.jp/skk/tools/${pkgname}-${pkgver}.tar.gz
14 skktools-skk2cdb-python3.patch::https://github.com/skk-dev/skktools/commit/dfde96678a4a9f086c50e8130ca61e68af428663.patch)
15 sha512sums=('8749dfc4f18474db860d8b7cd85fadfc00327b199addb31a339aa78dd66cb98032429664bdad4b47176b5b64b156b7264bc35a284861f6b9ec8cc9979d4d5ce1'
16 'f45c77da33a9135ca8fec81bb7fb2df667b9fcbbd3e7ebc25dcfee4cdfe24b88cb8161af8742ee06ba697819caaae4c45277fd13de3ccf70e44efa7dc99bf8d5')
19 mv skktools-skktools-1_3_4 $pkgname-$pkgver
21 patch -p1 -i ../skktools-skk2cdb-python3.patch
27 ./configure --prefix=/usr --with-gdbm
34 make DESTDIR="$pkgdir" install
36 install -d "$pkgdir"/usr/share/skktools
37 cp -a -t "$pkgdir"/usr/share/skktools \
38 convert2skk dbm filters \
39 saihenkan.rb skk2cdb.py skkdic-diff.scm unannotation.awk
41 install -D -m644 skk-xml.el "$pkgdir"/usr/share/emacs/site-lisp/skk-xml.el