summaryrefslogtreecommitdiff
path: root/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
commit79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch)
treeade7cb031f363fad64c77139dea7aa3d81908537 /app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
parent6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff)
gentoo resync : 16.02.1018
Diffstat (limited to 'app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild')
-rw-r--r--app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild30
1 files changed, 11 insertions, 19 deletions
diff --git a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
index e1af082f7930..aacccf082f76 100644
--- a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
+++ b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit gnome2-utils xdg-utils
+EAPI=7
-DESCRIPTION="A simple GTK2 text editor"
+inherit xdg
+
+DESCRIPTION="Simple GTK2 text editor"
HOMEPAGE="http://tarot.freeshell.org/leafpad/"
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
@@ -13,15 +14,16 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="emacs"
-RDEPEND="
- virtual/libintl
- x11-libs/gtk+:2
-"
-DEPEND="${RDEPEND}
+BDEPEND="
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
"
+DEPEND="
+ virtual/libintl
+ x11-libs/gtk+:2
+"
+RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-fdo.patch
@@ -37,13 +39,3 @@ src_configure() {
--enable-print \
$(use_enable emacs)
}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}