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" +}