27 lines
641 B
Bash
27 lines
641 B
Bash
# Template file for 'sbctl'
|
|
pkgname=sbctl
|
|
version=0.10
|
|
revision=3
|
|
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="https://github.com/Foxboron/sbctl/archive/${version}.tar.gz"
|
|
checksum=22c394e1ae3f80eafe85e331ca4499d2df28bebcc4421c0af89241b897a17774
|
|
|
|
do_build() {
|
|
make
|
|
}
|
|
|
|
do_install() {
|
|
make install PREFIX=/usr DESTDIR=$DESTDIR
|
|
# TODO: install completions, sbctl tries to run lsblk when generating them
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|