summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSteffen Hansen2021-10-09 13:17:28 +0200
committerSteffen Hansen2021-10-09 13:20:17 +0200
commit869d32bf2424ba262233f0927ad2aae07034bd09 (patch)
tree59f7ca41156b9283b0c8cca651ea263baa4b06eb /PKGBUILD
parent43fbc5f6b361cb687b8f2c3cdd6204cce37d8736 (diff)
downloadaur-869d32bf2424ba262233f0927ad2aae07034bd09.tar.gz
Add replacement script for OVMF paths
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e1f5aacf919..e5a77a548ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,11 @@ conflicts=("$pkgname")
source=("$pkgname-$pkgver.tar.gz"::'https://github.com/wimpysworld/quickemu/archive/refs/tags/2.2.3.tar.gz')
md5sums=("38cbaa95a18a6c98b9444a49263c64d4")
+prepare() {
+ sed -i 's+/usr/share/OVMF/OVMF_CODE_4M.fd+/usr/share/OVMF/x64/OVMF_CODE.fd+g' $srcdir/$pkgname-$pkgver/quickemu
+ sed -i 's+/usr/share/OVMF/OVMF_VARS_4M.fd+/usr/share/OVMF/x64/OVMF_VARS.fd+g' $srcdir/$pkgname-$pkgver/quickemu
+}
+
package() {
cd "$pkgname-$pkgver"