summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 323d7e57efef5c162867f98bdc4d0af47d4eabae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>

pkgname=uefi-run
pkgver=0.6.1
pkgrel=1
pkgdesc="Directly run UEFI applications in QEMU"
arch=('x86_64')
url=https://github.com/Richard-W/uefi-run
license=('MIT')
depends=(qemu edk2-ovmf)
makedepends=(rust)
source=("$url/archive/v$pkgver.tar.gz")
md5sums=('0b2afcd8b6a10b081ca85fb42b8a6955')

build() {
	cd "$pkgname-$pkgver"
	cargo build
}

check() {
	cd "$pkgname-$pkgver"
	cargo check
}

package() {
	cd "$pkgname-$pkgver"
	cargo install --no-track --path . --root "${pkgdir}/usr" --bin uefi-run
}