void-packages/srcpkgs/sbctl/template

23 lines
580 B
Bash

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