summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild')
-rw-r--r--x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild21
1 files changed, 9 insertions, 12 deletions
diff --git a/x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild b/x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild
index 8ed5ccc37dce..b7767ef8add7 100644
--- a/x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild
+++ b/x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit autotools eutils
+EAPI=6
+inherit autotools
DESCRIPTION="A configuration framework for the fvwm window manager"
HOMEPAGE="http://fvwm-themes.sourceforge.net/"
@@ -17,11 +17,13 @@ RDEPEND=">=x11-wm/fvwm-2.6.2"
DEPEND="${RDEPEND}
gnome? ( virtual/imagemagick-tools )"
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-gentoo.patch \
- "${FILESDIR}"/${P}-posix-sort.patch
+PATCHES=(
+ "${FILESDIR}/${P}-gentoo.patch"
+ "${FILESDIR}/${P}-posix-sort.patch"
+)
+src_prepare() {
+ default
eautoreconf
}
@@ -29,11 +31,6 @@ src_configure() {
econf $(use_enable gnome gnome-icons)
}
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README TODO
-}
-
pkg_postinst() {
fvwm-themes-config --site --reset
fvwm-themes-menuapp --site --build-menus --remove-popup