commit: 7a9421d59d1ae4c7a5d1879a075e46ca040b5ee7
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 4 22:00:15 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Apr 4 23:02:58 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a9421d5
app-editors/leafpad: Drop unnecessary gnome2_icon_savelist, DOCS
Package-Manager: Portage-2.3.28, Repoman-2.3.9
app-editors/leafpad/leafpad-0.8.18.1.ebuild | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/app-editors/leafpad/leafpad-0.8.18.1.ebuild
b/app-editors/leafpad/leafpad-0.8.18.1.ebuild
index e2044fce540..9497f53825f 100644
--- a/app-editors/leafpad/leafpad-0.8.18.1.ebuild
+++ b/app-editors/leafpad/leafpad-0.8.18.1.ebuild
@@ -21,11 +21,9 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
-DOCS="AUTHORS ChangeLog NEWS README"
-
PATCHES=(
- "${FILESDIR}"/${PN}-0.8.18.1-fdo.patch
- "${FILESDIR}"/${PN}-0.8.18.1-format-security.patch
+ "${FILESDIR}"/${P}-fdo.patch
+ "${FILESDIR}"/${P}-format-security.patch
)
src_configure() {
@@ -35,10 +33,6 @@ src_configure() {
$(use_enable emacs)
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update