summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 22:31:04 +0100
committerSam James <sam@gentoo.org>2021-04-18 06:53:24 +0100
commitb3fa713f6b34005cb1eb52631fbccd321ffc9ec4 (patch)
tree8a46566a3a2074fb649d35bc0198a3f0f69ae5cf /app-misc/kanatest/kanatest-0.4.8.ebuild
parentapp-misc/kanatest: eutils->epatch (diff)
downloadgentoo-b3fa713f6b34005cb1eb52631fbccd321ffc9ec4.tar.gz
gentoo-b3fa713f6b34005cb1eb52631fbccd321ffc9ec4.tar.bz2
gentoo-b3fa713f6b34005cb1eb52631fbccd321ffc9ec4.zip
app-misc/kanatest: modernise style wrt DOCS
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/kanatest/kanatest-0.4.8.ebuild')
-rw-r--r--app-misc/kanatest/kanatest-0.4.8.ebuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/app-misc/kanatest/kanatest-0.4.8.ebuild b/app-misc/kanatest/kanatest-0.4.8.ebuild
index 2d5929f2f05d..d24f05ecee86 100644
--- a/app-misc/kanatest/kanatest-0.4.8.ebuild
+++ b/app-misc/kanatest/kanatest-0.4.8.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
+
inherit autotools epatch gnome2-utils
DESCRIPTION="Visual flashcard tool for memorizing the Japanese Hiragana and Katakana alphabet"
@@ -11,14 +12,13 @@ SRC_URI="http://www.clayo.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2 GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
-IUSE=""
RDEPEND=">=x11-libs/gtk+-2.12:2=
dev-libs/libxml2:="
DEPEND="${RDEPEND}
virtual/pkgconfig"
-DOCS="AUTHORS TRANSLATORS ChangeLog README"
+DOCS=( AUTHORS TRANSLATORS ChangeLog README )
src_prepare() {
epatch \
@@ -35,6 +35,14 @@ src_prepare() {
eautoreconf
}
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}