summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlomonosow2019-01-12 16:45:03 +0300
committerlomonosow2019-01-12 16:45:03 +0300
commitc3792483da32d91c404ed6b879041dcaae87afec (patch)
tree0fc67cdb17345d23c3eeeb5c638e7cdde41cfe74
downloadaur-c3792483da32d91c404ed6b879041dcaae87afec.tar.gz
Release 0.0.1 version
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD18
-rw-r--r--secureboot.install7
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b89c7b62e16
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = secureboot
+ pkgdesc = This package contains script, which helps to manage secureboot. It can generate keys, enroll it to UEFI and sign images
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/lomonosow/secureboot
+ install = secureboot.install
+ arch = any
+ license = MIT
+ depends = bash
+ depends = openssl
+ depends = efitools
+ depends = util-linux
+ depends = sbsigntools
+ source = secureboot-0.0.1.tar.gz::https://github.com/lomonosow/secureboot/archive/0.0.1.tar.gz
+ md5sums = 47dd526a3106b550f4722ea01bcac4e1
+
+pkgname = secureboot
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4919d9beb7b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: lomonosow <lomonosow93@gmail.com>
+pkgname=secureboot
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="This package contains script, which helps to manage secureboot. It can generate keys, enroll it to UEFI and sign images"
+arch=('any')
+url="https://github.com/lomonosow/secureboot"
+license=('MIT')
+depends=('bash' 'openssl' 'efitools' 'util-linux' 'sbsigntools')
+install=$pkgname.install
+source=("${pkgname}-${pkgver}.tar.gz::$url/archive/$pkgver.tar.gz")
+md5sums=('47dd526a3106b550f4722ea01bcac4e1')
+
+
+package() {
+ install -Dm755 "$srcdir/$pkgname-$pkgver"/secureboot.sh "${pkgdir}"/usr/bin/secureboot
+ install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/secureboot.install b/secureboot.install
new file mode 100644
index 00000000000..07754ae8af6
--- /dev/null
+++ b/secureboot.install
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+post_install() {
+ cat<<INSTALLEOF
+You need to run secureboot --init to initialize secureboot keys
+INSTALLEOF
+}