x11-themes/fvwm-themes: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 23:33:35 +0000 (19:33 -0400)
committerAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 13:17:47 +0000 (09:17 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-gentoo.patch
x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-posix-sort.patch
x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild

index 5fdf7e5f3bb3bcb424c570e1167827ae0e0092a4..bb377f86f296ddcd55a829ffce892b9bbe7f6b6a 100644 (file)
@@ -1,5 +1,5 @@
---- 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)
index 3974f95c5c51f28853fa2b2d6304a1f9ba43097d..a68ea6303c8b8d4f8558d798c47edc71d84670cd 100644 (file)
@@ -1,5 +1,5 @@
---- fvwm-themes-0.7.0/configure.in
-+++ fvwm-themes-0.7.0/configure.in
+--- a/configure.in
++++ b/configure.in
 @@ -195,7 +195,7 @@
  
  # Hopefully this "sort" is portable (after many tries using awk and expr)
index 8ed5ccc37dce715fa9b5906a966c2e115b6c690e..b7767ef8add7eb9598c11f004a5a36ed9432f8c1 100644 (file)
@@ -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