# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit cannadic eutils
+EAPI="6"
+
+inherit cannadic
DESCRIPTION="Japanese Canna dictionary for 2channelers"
HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
IUSE="canna"
DEPEND="canna? ( app-i18n/canna )"
-RDEPEND=""
S="${WORKDIR}/${PN}"
+PATCHES=( "${FILESDIR}/"${P}-canna36p4-gentoo.patch )
+
CANNADICS="2ch"
DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-canna36p4-gentoo.patch"
-}
-
src_compile() {
# Anthy users do not need binary dictionary
- if use canna ; then
+ if use canna; then
mkbindic nichan.ctd || die
fi
}
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit cannadic eutils
+EAPI="6"
+
+inherit cannadic
DESCRIPTION="Japanese Canna dictionary for 2channelers"
HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
IUSE="canna"
DEPEND="canna? ( app-i18n/canna )"
-RDEPEND=""
S="${WORKDIR}/${PN}"
CANNADICS="2ch"
src_compile() {
# Anthy users do not need binary dictionary
- if use canna ; then
+ if use canna; then
mkbindic nichan.ctd || die
fi
}
<?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="sourceforge">omaemona</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">omaemona</remote-id>
+ </upstream>
</pkgmetadata>