New package: sbctl-0.1.

This commit is contained in:
Érico Nogueira 2021-03-11 02:40:26 -03:00 committed by Érico Nogueira Rolim
parent d427ebfe6a
commit 283c1db35c

23
srcpkgs/sbctl/template Normal file
View file

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