diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-i18n/skk-jisyo/skk-jisyo-201605.ebuild | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/skk-jisyo/skk-jisyo-201605.ebuild')
-rw-r--r-- | app-i18n/skk-jisyo/skk-jisyo-201605.ebuild | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/app-i18n/skk-jisyo/skk-jisyo-201605.ebuild b/app-i18n/skk-jisyo/skk-jisyo-201605.ebuild deleted file mode 100644 index 098f596c803f..000000000000 --- a/app-i18n/skk-jisyo/skk-jisyo-201605.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -MY_PN=${PN^^} - -DESCRIPTION="Jisyo (dictionary) files for the SKK Japanese-input software" -HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html" -SRC_URI="mirror://gentoo/${P}.tar.xz - https://dev.gentoo.org/~hattya/distfiles/${P}.tar.xz" - -LICENSE="GPL-2 freedist public-domain" -SLOT="0" -KEYWORDS="amd64 arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" -IUSE="cdb" - -DEPEND="virtual/awk - cdb? ( - || ( - dev-db/tinycdb - dev-db/cdb - ) - )" -RDEPEND="" - -DOCS=( ChangeLog{,.{1..3}} READMEs/committers.txt edict_doc.txt zipcode/README.ja ) - -src_prepare() { - rm -f ${MY_PN}.{wrong*,noregist,not_wrong,hukugougo,notes,requested,pubdic+} - - default -} - -cdb_make() { - cdbmake "${1}" "${1}.tmp" -} - -tinycdb_make() { - cdb -c "${1}" -} - -src_compile() { - if use cdb; then - local cdbmake=cdb_make f - if has_version dev-db/tinycdb; then - cdbmake=tinycdb_make - fi - for f in {,zipcode/}${MY_PN}.*; do - LC_ALL=C awk ' - /^[^;]/ { - s = substr($0, index($0, " ") + 1) - print "+" length($1) "," length(s) ":" $1 "->" s - } - END { - print "" - } - ' ${f} | ${cdbmake} ${f}.cdb || die - done - fi -} - -src_install() { - insinto /usr/share/skk - doins {,zipcode/}${MY_PN}.* -} |