1
0

Add PKGBUILD

This commit is contained in:
MatMoul 2021-10-29 01:06:16 +02:00
parent 7924f84a9d
commit f7dfdb52d0

24
dist/archlinux/PKGBUILD vendored Normal file
View File

@ -0,0 +1,24 @@
# Maintainer: MatMoul <matmoul@gmail.com>
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"
}