media-gfx/grub-splashes: modernize ebuild
authorMike Gilbert <floppym@gentoo.org>
Mon, 22 Aug 2016 02:14:37 +0000 (22:14 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 22 Aug 2016 02:15:13 +0000 (22:15 -0400)
Upgrade to EAPI 6. Use mount-boot eclass.

Package-Manager: portage-2.3.0_p16

media-gfx/grub-splashes/grub-splashes-20091109.ebuild

index 7bb53c390b5eb45cdb87593ba98bdccbf548a1e4..4eb79a3b1b7d03bcc16a4b63b44c56ad6280eda5 100644 (file)
@@ -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}"