app-dicts/wnn-ldic: update to EAPI 6
authorAkinori Hattori <hattya@gentoo.org>
Tue, 1 Aug 2017 12:27:00 +0000 (21:27 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Tue, 1 Aug 2017 12:29:54 +0000 (21:29 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-dicts/wnn-ldic/metadata.xml
app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild

index c921b96adf6ced372394a69a4687e96d659e0e44..e1a49f498885809fa68430a67d65a8f2a65b1bba 100644 (file)
@@ -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>cjk@gentoo.org</email>
-       <name>Cjk</name>
-</maintainer>
+  <maintainer type="project">
+    <email>cjk@gentoo.org</email>
+    <name>Cjk</name>
+  </maintainer>
 </pkgmetadata>
index 36c6ccb4194f61a4ed95c6da35247d2c7fc62692..08f3cfea5e1d2c6ba46dfbb5cea44a01bfa3baf9 100644 (file)
@@ -1,10 +1,12 @@
-# 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"
@@ -12,15 +14,14 @@ 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() {
@@ -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."
 }