---- Makefile.am~ 2002-12-06 03:01:37.000000000 +0100
-+++ Makefile.am 2003-04-15 20:14:34.000000000 +0200
+--- a/Makefile.am 2002-12-06 03:01:37.000000000 +0100
++++ b/Makefile.am 2003-04-15 20:14:34.000000000 +0200
@@ -32,24 +32,7 @@
$(DESTDIR)$(SETTINGS_FILE) > $(DESTDIR)$(SETTINGS_FILE).tmp && \
mv -f $(DESTDIR)$(SETTINGS_FILE).tmp $(DESTDIR)$(SETTINGS_FILE)
-# 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/"
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
}
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