void-packages/srcpkgs/sbctl/template

24 lines
601 B
Bash

# Template file for 'sbctl'
pkgname=sbctl
version=0.3
revision=1
build_style=go
go_import_path="github.com/foxboron/sbctl"
hostmakedepends="asciidoc"
depends="sbsigntool"
short_desc="Secure Boot key manager"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="MIT"
homepage="https://github.com/Foxboron/sbctl"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=ad887d4085af8d0229757c9baff85dc49ba6fb701ce7acdedfc31e4ce872f0ff
do_build() {
make
}
do_install() {
make install PREFIX=/usr DESTDIR=$DESTDIR
# TODO: install completions, sbctl tries to run lsblk when generating them
}