commit:     3d83c0bb66ddc201606e13d623e17823d3a00dba
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 16:25:23 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 16:29:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d83c0bb

sys-firmware/edk2-ovmf-bin: Prepare for rename to sys-firmware/edk2-bin

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild 
b/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild
index 35e80ff31395..75ae882382d6 100644
--- a/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild
+++ b/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 inherit readme.gentoo-r1 secureboot
 
-BINPKG="${P/-bin/}-1"
+BINPKG="edk2-ovmf-${PV}-1"
 
 DESCRIPTION="UEFI firmware for 64-bit x86 virtual machines"
 HOMEPAGE="https://github.com/tianocore/edk2";
@@ -46,8 +46,8 @@ one for yourself. Firmware blobs are commonly labeled
 
 In order to use the firmware you can run qemu the following way
 
-       $ qemu-system-x86_64 \
-               -drive 
file=/usr/share/edk2-ovmf/OVMF.fd,if=pflash,format=raw,unit=0,readonly=on \
+       $ qemu-system-x86_64 \\
+               -drive 
file=/usr/share/edk2-ovmf/OVMF.fd,if=pflash,format=raw,unit=0,readonly=on \\
                ..."
 
 src_unpack() {
@@ -55,7 +55,7 @@ src_unpack() {
 }
 
 src_install() {
-       mv "usr/share/doc/${P/-bin/}" "usr/share/doc/${PF}" || die
+       mv "usr/share/doc/edk2-ovmf-${PV}" "usr/share/doc/${PF}" || die
 
        # Don't want to try to install the readme from the source package
        rm "usr/share/doc/${PF}/README.gentoo.bz2"

Reply via email to