diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/skktools/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/skktools/PKGBUILD')
-rw-r--r-- | community/skktools/PKGBUILD | 37 |
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" +} |