From f7dfdb52d0d4de4484ff4fe004eac40024f0ae27 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 29 Oct 2021 01:06:16 +0200 Subject: [PATCH] Add PKGBUILD --- dist/archlinux/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dist/archlinux/PKGBUILD diff --git a/dist/archlinux/PKGBUILD b/dist/archlinux/PKGBUILD new file mode 100644 index 0000000..8582ca8 --- /dev/null +++ b/dist/archlinux/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: MatMoul + +pkgname=bootdisk +pkgver=0.1 +pkgrel=1 +pkgdesc="Simple command to boot device with QEMU/KVM" +arch=('any') +url="https://github.com/MatMoul/bootdisk" +license=('GPL3') +depends=('qemu' 'edk2-ovmf' 'swtpm') +provides=("bootdisk=${pkgver}") +source=("git://github.com/MatMoul/${pkgname}.git") +#source=("git://github.com/MatMoul/${pkgname}.git#branch=") +md5sums=('SKIP') + +build() { + cd ${pkgname} +} + +package() { + cd ${pkgname} + install -Dm755 "src/bootdisk" "${pkgdir}/usr/bin/bootdisk" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}