[arch-commits] Commit in skktools/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:15:10 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:15:10
  Author: felixonmars
Revision: 658780

archrelease: copy trunk to community-staging-x86_64

Added:
  skktools/repos/community-staging-x86_64/
  skktools/repos/community-staging-x86_64/PKGBUILD
    (from rev 658779, skktools/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: skktools/repos/community-staging-x86_64/PKGBUILD (from rev 658779, skktools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:15:10 UTC (rev 658780)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: noonov <noonov at gmail.com>
+
+pkgname=skktools
+pkgver=1.3.4
+pkgrel=2
+pkgdesc="Dictionary maintenance tools for the SKK Japanese input method"
+arch=('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)
+sha512sums=('8749dfc4f18474db860d8b7cd85fadfc00327b199addb31a339aa78dd66cb98032429664bdad4b47176b5b64b156b7264bc35a284861f6b9ec8cc9979d4d5ce1')
+
+prepare() {
+  mv skktools-skktools-1_3_4 $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --with-gdbm
+  make
+
+  sed -i '1s|python|&2|' skk2cdb.py
+}
+
+package() {
+  cd $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
+}



More information about the arch-commits mailing list