public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/skktools/, app-i18n/skktools/files/
@ 2016-05-13 12:44 Akinori Hattori
  0 siblings, 0 replies; only message in thread
From: Akinori Hattori @ 2016-05-13 12:44 UTC (permalink / raw
  To: gentoo-commits

commit:     7bbe4ab1e99331352e9b43ba7503c49dd4096c62
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 12:42:36 2016 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri May 13 12:42:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bbe4ab1

app-i18n/skktools: initial import

Package-Manager: portage-2.2.28

 app-i18n/skktools/Manifest                        |  1 +
 app-i18n/skktools/files/50skktools-gentoo.el      |  2 +
 app-i18n/skktools/metadata.xml                    | 11 ++++
 app-i18n/skktools/skktools-1.3.3_p20150901.ebuild | 68 +++++++++++++++++++++++
 4 files changed, 82 insertions(+)

diff --git a/app-i18n/skktools/Manifest b/app-i18n/skktools/Manifest
new file mode 100644
index 0000000..eb15bda
--- /dev/null
+++ b/app-i18n/skktools/Manifest
@@ -0,0 +1 @@
+DIST skktools-1.3.3_p20150901.tar.gz 483005 SHA256 24f26e76ba6321b43de69353ad2d33b59d5ecee724764e99c6383d9d4f9c9acf SHA512 dbb15068239158c31a706da2fd5afcb8514d088854bdd4f0d05bb8b9e10947cbdce584ff3698571d601e3b357a1ba11b4608f0457615062016862ac89fb91b83 WHIRLPOOL 81cd503de4d05bbab096628e357e0ced4a87cf4df87d7a0f380a8dbe0850fbd7f65d2f1bf249a6b5bf19fb6b1605d0796b6a9408c0fcd7b5ad700d069f396895

diff --git a/app-i18n/skktools/files/50skktools-gentoo.el b/app-i18n/skktools/files/50skktools-gentoo.el
new file mode 100644
index 0000000..38b3fef
--- /dev/null
+++ b/app-i18n/skktools/files/50skktools-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'skk-convert-jisyo-to-xml "skk-xml" nil t)

diff --git a/app-i18n/skktools/metadata.xml b/app-i18n/skktools/metadata.xml
new file mode 100644
index 0000000..32b1de9
--- /dev/null
+++ b/app-i18n/skktools/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>cjk@gentoo.org</email>
+    <name>Cjk</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">skk-dev/skktools</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/app-i18n/skktools/skktools-1.3.3_p20150901.ebuild b/app-i18n/skktools/skktools-1.3.3_p20150901.ebuild
new file mode 100644
index 0000000..b536087
--- /dev/null
+++ b/app-i18n/skktools/skktools-1.3.3_p20150901.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit elisp-common vcs-snapshot
+
+EGIT_COMMIT="28e36bac97dc8ed089bac409bef15f1831b6adde"
+
+DESCRIPTION="SKK utilities to manage dictionaries"
+HOMEPAGE="http://openlab.jp/skk/"
+SRC_URI="https://github.com/skk-dev/skktools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs"
+
+RDEPEND="dev-libs/glib:2
+	sys-libs/gdbm
+	emacs? ( virtual/emacs )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+DOCS=( ChangeLog README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+	econf --with-gdbm
+}
+
+src_compile() {
+	default
+
+	if use emacs; then
+		elisp-compile *.el
+	fi
+}
+
+src_install() {
+	default
+	dodoc READMEs/*
+
+	local d
+	for d in convert2skk filters; do
+		newdoc ${d}/README.md README.${d}
+		rm -f ${d}/README.md
+	done
+
+	insinto /usr/share/${PN}
+	doins *.awk *.scm
+	rm -rf convert2skk/obsolete
+	doins -r convert2skk filters
+
+	if use emacs; then
+		elisp-install ${PN} *.el{,c}
+		elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+	fi
+}
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-13 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13 12:44 [gentoo-commits] repo/gentoo:master commit in: app-i18n/skktools/, app-i18n/skktools/files/ Akinori Hattori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox