blob: 627cb377c1ea35c198bc4167463bc905b751dd2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Darnell Andries <darnell@andries.ca>
pkgname=sbsimple
pkgver=0.1.2
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' 'efibootmgr')
makedepends=('git')
checkdepends=()
optdepends=('grub')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()
source=($(ls | grep "^\(sbsimple[a-z\-]*\|LICENSE\)$"))
sha256sums=()
for i in "${!source[@]}"; do
sha256sums[i]="SKIP"
done
md5sums=()
validpgpkeys=()
package() {
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
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
cp ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
chmod -R 755 "$pkgdir/usr/share/sbsimple"
}
|