2021-06-28 15:57:45 +00:00

35 lines
992 B
Plaintext

# Contributor: Matthew T Hoare <matthew.t.hoare@gmai.com>
# Maintainer: Matthew T Hoare <matthew.t.hoare@gmai.com>
pkgname=mokutil
pkgver=0.5.0
pkgrel=0
pkgdesc="Utility to manipulate the machine owner keys (MOK) stored in the database of shim"
url="https://github.com/lcp/mokutil"
arch="aarch64 armhf armv7 x86 x86_64" # Secure Boot is only available for these platforms
license="GPL-3.0-or-later"
makedepends="autoconf automake efivar-dev keyutils-dev openssl-dev"
options="!check" # no checks
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/lcp/mokutil/archive/$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -f -i
}
build() {
./configure \
--prefix=/usr \
--sbindir=/sbin \
--sysconfdir=/etc
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
600c142fcc44e33efd307341b814018ef956668790b56d42a523140e81098746d14ae096fc6c93985b3c26bb414b8b6862f59312f2c4bd9d657a11e4becc6ea7 mokutil-0.5.0.tar.gz
"