23 lines
601 B
Bash
23 lines
601 B
Bash
# 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
|
|
}
|