commit:     fb3a5001d42f2dac115afe11afe8890a002f29ae
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 03:33:13 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 03:33:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb3a5001

x11-themes/fluxbox-styles-fluxmod: bump EAPI

-sort keywords
-use https
-add proper dies to external function calls

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 .../fluxbox-styles-fluxmod-20050128-r1.ebuild          | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git 
a/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild 
b/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild
index e1a90202570..865f5494dc1 100644
--- 
a/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild
+++ 
b/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=7
 
 DESCRIPTION="A collection of FluxBox themes from FluxMod"
-HOMEPAGE="http://tenr.de/styles/";
+HOMEPAGE="https://tenr.de/styles/";
 SRC_URI="mirror://gentoo/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~arm alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE=""
 
 RDEPEND=""
@@ -18,16 +18,18 @@ DEPEND=">=sys-apps/sed-4"
 src_prepare() {
        # comment out every rootcommand
        find . -name '*.cfg' -exec \
-               sed -i "{}" -e 's-^\(rootcommand\)-!!! \1-i' \;
+               sed -i "{}" -e 's-^\(rootcommand\)-!!! \1-i' \; || die "sed 
failed"
        # weird tarball...
-       find . -exec chmod a+r '{}' \;
+       find . -exec chmod a+r '{}' \; || die "chmod on tarball failed"
+
+       eapply_user
 }
 
 src_install() {
        insinto /usr/share/fluxbox/fluxmod/styles
-       doins -r * || die
+       doins -r *
        insinto /usr/share/fluxbox/menu.d/styles
-       doins "${FILESDIR}"/styles-menu-fluxmod || die
+       doins "${FILESDIR}"/styles-menu-fluxmod
 }
 
 pkg_postinst() {

Reply via email to