blob: 6cad6f76e6f7b4929ecffe86cf9449ecc9085505 (
plain)
1 # Description: EFI "BIOS" for qemu: -bios /usr/share/edk2-ovmf/x64/OVMF_CODE.fd
2 # URL: https://archlinux.org/packages/extra/any/edk2-ovmf
3 # (Really: https://github.com/tianocore/edk2)
4 # Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
5
6 name=qemu-efi-bin
7 version=202108-1
8 realn=edk2-ovmf
9 release=1
10 source=(https://ftp.sdaoden.eu/${realn}-${version}-any.pkg.tar.zst)
11
12 build() {
13 [ -d usr ] || # TODO pkgmk native support
14 bsdtar -xf $(basename "$source")
15
16 mkdir -p "${PKG}"/usr/share/${realn} "${PKG}"/usr/share/qemu/firmware
17
18 cp -r usr/share/${realn} "${PKG}"/usr/share
19 cp -r usr/share/qemu/firmware "${PKG}"/usr/share/qemu
20 }
21
22 # s-sh-mode
|