void-packages/srcpkgs/sbctl/template
2022-01-28 03:27:26 -03:00

22 lines
580 B
Bash

# Template file for 'sbctl'
pkgname=sbctl
version=0.8
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=8dd35f4a16bc135053cf0956b927e6bc9fefde2c9249aad49847e80aa16707d3
do_build() {
make
}
do_install() {
make install PREFIX=/usr DESTDIR=$DESTDIR
# TODO: install completions, sbctl tries to run lsblk when generating them
}