[arch-commits] Commit in (mokutil mokutil/repos mokutil/trunk mokutil/trunk/PKGBUILD)
Tobias Powalowski
tpowa at gemini.archlinux.org
Thu Oct 14 18:53:14 UTC 2021
Date: Thursday, October 14, 2021 @ 18:53:14
Author: tpowa
Revision: 425999
add mokutil to extra
Added:
mokutil/
mokutil/repos/
mokutil/trunk/
mokutil/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Added: mokutil/trunk/PKGBUILD
===================================================================
--- mokutil/trunk/PKGBUILD (rev 0)
+++ mokutil/trunk/PKGBUILD 2021-10-14 18:53:14 UTC (rev 425999)
@@ -0,0 +1,41 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Maintainer: Mantas Mikulėnas <grawity at gmail.com>
+pkgname=mokutil
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Shim.efi Machine Owner Key management tool"
+arch=(i686 x86_64)
+url="https://github.com/lcp/mokutil"
+license=(GPL3)
+depends=(efivar openssl)
+makedepends=(git)
+_commit=205194f2ea5c31b10c43fa1385734bf192ee0189
+source=("git+https://github.com/lcp/mokutil#commit=$_commit")
+sha256sums=('SKIP')
+validpgpkeys=()
+
+pkgver() {
+ cd "$pkgname"
+ git describe --tags | sed 's/-/.r/; s/-/./'
+}
+
+prepare() {
+ cd "$pkgname"
+ autoreconf -f -i
+}
+
+build() {
+ cd "$pkgname"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc ;
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim: ts=2:sw=2:et
More information about the arch-commits
mailing list