Skip to content

Commit

Permalink
app-dicts/wnn-ldic: update to EAPI 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
hattya committed Aug 1, 2017
1 parent 437a6a4 commit ae518de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
8 changes: 4 additions & 4 deletions app-dicts/wnn-ldic/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Cjk</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Cjk</name>
</maintainer>
</pkgmetadata>
19 changes: 10 additions & 9 deletions app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Wnn dictionary for librarian"
EAPI="6"

HOMEPAGE="http://www.tulips.tsukuba.ac.jp/misc/export/cat/ldic/"
SRC_URI="http://www.tulips.tsukuba.ac.jp/misc/export/cat/ldic/ldic-${PV}-wnn.txt"
DESCRIPTION="Wnn dictionary for librarian"
#HOMEPAGE="http://www.tulips.tsukuba.ac.jp/misc/export/cat/ldic"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/ldic-${PV}-wnn.txt"

LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-i18n/freewnn"

S=${WORKDIR}
S="${WORKDIR}"

src_unpack() {
return
:
}

src_compile() {
/usr/bin/Wnn4/atod lib.dic < "${DISTDIR}/${A}" || die
/usr/bin/Wnn4/atod lib.dic < "${DISTDIR}"/${A} || die
}

src_install() {
Expand All @@ -29,6 +30,6 @@ src_install() {
}

pkg_postinst() {
elog "lib.dic is installed in /usr/lib/wnn/ja_JP/dic/misc."
elog "lib.dic is installed in ${EPREFIX}/usr/lib/wnn/ja_JP/dic/misc."
elog "You have to edit your wnnenvrc or eggrc to use it."
}

0 comments on commit ae518de

Please sign in to comment.