23 lines
674 B
Plaintext
23 lines
674 B
Plaintext
# Description: EFI "BIOS" for qemu: -bios /usr/share/edk2-ovmf/x64/OVMF_CODE.fd
|
|
# URL: https://archlinux.org/packages/extra/any/edk2-ovmf
|
|
# (Really: https://github.com/tianocore/edk2)
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
|
|
name=qemu-efi-bin
|
|
version=202111-5
|
|
realn=edk2-ovmf
|
|
release=1
|
|
source=(https://ftp.sdaoden.eu/${realn}-${version}-any.pkg.tar.zst)
|
|
|
|
build() {
|
|
[ -d usr ] || # TODO pkgmk native support
|
|
bsdtar -xf $(basename "$source")
|
|
|
|
mkdir -p "${PKG}"/usr/share/${realn} "${PKG}"/usr/share/qemu/firmware
|
|
|
|
cp -r usr/share/${realn} "${PKG}"/usr/share
|
|
cp -r usr/share/qemu/firmware "${PKG}"/usr/share/qemu
|
|
}
|
|
|
|
# s-sh-mode
|