void-packages/srcpkgs/sbctl/template

23 lines
580 B
Bash

# Template file for 'sbctl'
pkgname=sbctl
version=0.6
revision=1
build_style=go
go_import_path="github.com/foxboron/sbctl"
hostmakedepends="asciidoc"
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=37c68dc07fdf2068c95161deb00848fa8a3c666598e234978bed048dcfdef6b6
do_build() {
make
}
do_install() {
make install PREFIX=/usr DESTDIR=$DESTDIR
# TODO: install completions, sbctl tries to run lsblk when generating them
}