summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcharliehogger2020-07-04 11:28:44 -0300
committercharliehogger2020-07-04 11:28:44 -0300
commit4105e52c0ed1aae0afa9936220cf26221dec1b99 (patch)
treeea1ef3bd9e8eed9f62a6f4b0fac0b26166279b39 /PKGBUILD
downloadaur-uefi-run.tar.gz
PKGBUILD & .SRCINFO
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..030c1442b0b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Charles L <charliehogger31@gmail.com>
+pkgname=uefi-run
+pkgver=0.3.2
+pkgrel=1
+pkgdesc="Directly run UEFI applications in qemu"
+arch=('x86_64')
+url="https://github.com/Richard-W/uefi-run"
+license=('MIT')
+makedepends=('rust')
+optdepends=('qemu: emulation binaries'
+ 'ovmf: UEFI bios binaries')
+install=
+changelog=
+source=("https://github.com/Richard-W/uefi-run/archive/v${pkgver}.tar.gz")
+md5sums=('36e26fbe0a7d0b40262faa6728195441')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ cargo install --path . --root "${pkgdir}/usr" --bin uefi-run
+}