commit:     859d88575cee76fcc8bb16ea7fd7a4772face84d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 02:14:37 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 02:15:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859d8857

media-gfx/grub-splashes: modernize ebuild

Upgrade to EAPI 6. Use mount-boot eclass.

Package-Manager: portage-2.3.0_p16

 media-gfx/grub-splashes/grub-splashes-20091109.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/media-gfx/grub-splashes/grub-splashes-20091109.ebuild 
b/media-gfx/grub-splashes/grub-splashes-20091109.ebuild
index 7bb53c3..4eb79a3 100644
--- a/media-gfx/grub-splashes/grub-splashes-20091109.ebuild
+++ b/media-gfx/grub-splashes/grub-splashes-20091109.ebuild
@@ -1,7 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI=6
+
+inherit mount-boot
+
 DESCRIPTION="Collection of grub splashes"
 HOMEPAGE="https://dev.gentoo.org/~welp/grub-splashes.xml";
 SRC_URI="mirror://gentoo/${PN}-0.1.tar.gz
@@ -13,16 +17,8 @@ SLOT="0"
 KEYWORDS="amd64 x86 ~x86-fbsd"
 IUSE=""
 
-DEPEND="|| ( sys-boot/grub sys-boot/grub-static )"
-RDEPEND="${DEPEND}"
-
 S="${WORKDIR}"
 
-pkg_setup() {
-       [[ -d ${ROOT}/boot/grub ]] || \
-               die "${ROOT}/boot/grub does not exist, please make sure you 
have /boot mounted"
-}
-
 src_unpack() {
        unpack ${A}
        cd "${S}"

Reply via email to