diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-08-21 22:14:37 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-08-21 22:15:13 -0400 |
commit | 859d88575cee76fcc8bb16ea7fd7a4772face84d (patch) | |
tree | d1a2a7ef4fff2421667fdb1073e2a6871baeee25 /media-gfx/grub-splashes | |
parent | dev-python/pypax: move python 3.5 support back to stable 0.9.2 (diff) | |
download | gentoo-859d88575cee76fcc8bb16ea7fd7a4772face84d.tar.gz gentoo-859d88575cee76fcc8bb16ea7fd7a4772face84d.tar.bz2 gentoo-859d88575cee76fcc8bb16ea7fd7a4772face84d.zip |
media-gfx/grub-splashes: modernize ebuild
Upgrade to EAPI 6. Use mount-boot eclass.
Package-Manager: portage-2.3.0_p16
Diffstat (limited to 'media-gfx/grub-splashes')
-rw-r--r-- | media-gfx/grub-splashes/grub-splashes-20091109.ebuild | 14 |
1 files 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 7bb53c390b5e..4eb79a3b1b7d 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}" |