summaryrefslogtreecommitdiff
path: root/community/skktools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-01 02:03:26 -0700
committerroot <root@rshg054.dnsready.net>2013-08-01 02:03:26 -0700
commit3391ef078ab86d3160b5e2fb3cfb794b75ce2a76 (patch)
tree3dece49302a2f07d08d6cf95ebebf467d61ff70a /community/skktools
parentb73aa81c21acc75e383d0e73e0fbf553d2b68232 (diff)
Thu Aug 1 02:01:53 PDT 2013
Diffstat (limited to 'community/skktools')
-rw-r--r--community/skktools/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/skktools/PKGBUILD b/community/skktools/PKGBUILD
new file mode 100644
index 000000000..4ea438a52
--- /dev/null
+++ b/community/skktools/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 94840 2013-07-31 05:14:59Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: noonov <noonov@gmail.com>
+
+pkgname=skktools
+pkgver=1.3.3
+pkgrel=2
+pkgdesc="Dictionary maintenance tools for the SKK Japanese input method"
+arch=('i686' 'x86_64')
+url="http://openlab.ring.gr.jp/skk/"
+license=('GPL2')
+depends=('gdbm' 'glib2')
+optdepends=('ruby' 'python2' 'perl')
+source=(http://openlab.ring.gr.jp/skk/tools/${pkgname}-${pkgver}.tar.gz)
+md5sums=('9011bf096ea3a408169729b54ca605f5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --with-gdbm
+ make
+
+ sed -i '1s|python|&2|' skk2cdb.py
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/usr/share/skktools"
+ cp -a -t "${pkgdir}/usr/share/skktools" \
+ convert2skk dbm filters \
+ saihenkan.rb skk2cdb.py skkdic-diff.scm unannotation.awk
+
+ install -D -m644 skk-xml.el "${pkgdir}/usr/share/emacs/site-lisp/skk-xml.el"
+}