void-packages/srcpkgs/sbctl/template
2021-11-12 23:45:45 -03:00

23 lines
580 B
Bash

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