# Template file for 'skktools'
pkgname=skktools
version=1.3.3
revision=1
build_style=gnu-configure
configure_args="--with-gdbm"
hostmakedepends="pkg-config glib-devel"
makedepends="gdbm-devel"
short_desc="Dictionary maintenance tools for the SKK"
maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
license="GPL-2"
homepage="http://openlab.ring.gr.jp/skk/"
distfiles="http://openlab.ring.gr.jp/skk/tools/${pkgname}-${version}.tar.gz"
checksum=0b4c17b6ca5c5147e08e89e66d506065bda06e7fdbeee038e85d7a7c4d10216d

post_install() {
	vmkdir usr/share/${pkgname}
	for f in convert2skk dbm filters saihenkan.rb skk2cdb.py skkdic-diff.scm unannotation.awk; do
		vcopy $f usr/share/${pkgname}
	done
	vmkdir usr/share/emacs/site-lisp
	vcopy skk-xml.el usr/share/emacs/site-lisp
}
