blob: 3a08f7d9a93670601cd2a6fe69a78084afee76bd (
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
|
# Maintainer: restitux <restitux at ohea dot xyz>
pkgname=qemu-ovmf-secureboot-git
pkgver=v1.1.3.r14.g4da81a4
pkgrel=1
pkgdesc="Script to generate an OVMF vars file with default secure boot keys enrolled. (git build)"
arch=('any')
url='https://github.com/rhuefi/qemu-ovmf-secureboot'
license=('MIT')
depends=('python' 'qemu')
provides=('qemu-ovmf-secureboot')
conflicts=('qemu-ovmf-secureboot')
source=("$pkgname::git+https://github.com/rhuefi/qemu-ovmf-secureboot")
sha1sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$pkgname"
install -D "ovmf-vars-generator" -t "$pkgdir/usr/bin/"
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/$pkgname/"
}
|