diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 42 |
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..313576f726bd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = sbsimple + pkgdesc = Utility for setting up UEFI secure boot in a simple way + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/DJAndries/sbsimple + arch = x86_64 + license = MIT + makedepends = git + depends = openssl + depends = coreutils + depends = util-linux + depends = efitools + depends = sbsigntools + depends = zenity + optdepends = grub + source = git+https://github.com/djandries/sbsimple + sha256sums = SKIP + +pkgname = sbsimple + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0173dfc786a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Darnell Andries <darnell@andries.ca> +pkgname=sbsimple +pkgver=0.1.0 +pkgrel=1 +epoch= +pkgdesc="Utility for setting up UEFI secure boot in a simple way" +arch=('x86_64') +url="https://github.com/DJAndries/sbsimple" +license=('MIT') +groups=() +depends=('openssl' 'coreutils' 'util-linux' 'efitools' 'sbsigntools' 'zenity') +makedepends=('git') +checkdepends=() +optdepends=('grub') +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +noextract=() + +source=("git+https://github.com/djandries/sbsimple") +sha256sums=("SKIP") + +md5sums=() +validpgpkeys=() + +package() { + cd "$pkgname" + mkdir -p "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/sbsimple" + + cp "sbsimple" "$pkgdir/usr/bin/sbsimple" + chmod 755 "$pkgdir/usr/bin/sbsimple" + for FILE in sbsimple-*; do + cp "$FILE" "$pkgdir/usr/share/sbsimple/$FILE" + done + + chmod -R 755 "$pkgdir/usr/share/sbsimple" +} |